Gets the value as boolean from the configuration manager.

C# | Visual Basic | Visual C++ |
public static bool GetValueAsBoolean( this IConfigManager configManager, string key, bool defaultValue )
<ExtensionAttribute> _ Public Shared Function GetValueAsBoolean ( _ configManager As IConfigManager, _ key As String, _ defaultValue As Boolean _ ) As Boolean
[ExtensionAttribute] public: static bool GetValueAsBoolean( IConfigManager^ configManager, String^ key, bool defaultValue )

- configManager (IConfigManager)
- The configuration manager.
- key (String)
- The key.
- defaultValue (Boolean)
- If set to true, the default value.

The value as a boolean (true of false).