Click or drag to resize

ConfigurationManagerSetValueT Method (String, T)

Sets value of the entry with the specified key.

Namespace:  Dynamicweb.Configuration
Assembly:  Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax
public virtual void SetValue<T>(
	string key,
	T value
)
where T : IConvertible

Parameters

key
Type: SystemString
The key that represents the value, e.g. "/Globalsettings/System/Database/Trusted"
value
Type: T
The value of the element to add to the configuration file. Should be simple value types like String, Boolean, Int32 or Double.

Type Parameters

T
The type of the value.
See Also