| ConfigurationManagerSetT Method (String, T) |
Note: This API is now obsolete.
Sets value of the entry with the specified key.
Namespace:
Dynamicweb.Configuration
Assembly:
Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax [ObsoleteAttribute("Use SetValue instead")]
public virtual void Set<T>(
string key,
T value
)
where T : IConvertible
<ObsoleteAttribute("Use SetValue instead")>
Public Overridable Sub Set(Of T As IConvertible) (
key As String,
value As T
)
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