| ConfigurationManagerGetBoolean Method |
Gets the
Boolean value for the specified key.
Namespace:
Dynamicweb.Configuration
Assembly:
Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax public virtual bool GetBoolean(
string key
)
Public Overridable Function GetBoolean (
key As String
) As Boolean
Parameters
- key
- Type: SystemString
The key that represents the value to get, e.g. "/Globalsettings/System/Database/Trusted"
Return Value
Type:
BooleanThe value converted to
Boolean if the key exists and is a valid boolean string in configuration file (True, 1, On), otherwise
.
See Also