Converts a string to a Boolean value.
Namespace: log4net.UtilAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- argValue
- Type: System String
String to convert.
- defaultValue
- Type: System Boolean
The default value.
Return Value
Type: BooleanThe Boolean value of argValue.
Remarks
If argValue is "true", then true is returned. If argValue is "false", then false is returned. Otherwise, defaultValue is returned.
See Also