Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
GetValueAsBoolean Method (configManager, key, defaultValue)
NamespacesGenesyslab.Desktop.InfrastructureExtensionsGetValueAsBoolean(IConfigManager, String, Boolean)
Gets the value as boolean from the configuration manager.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
configManager (IConfigManager)
The configuration manager.
key (String)
The key.
defaultValue (Boolean)
If set to true, the default value.
Return Value
The value as a boolean (true of false).

Assembly: Genesyslab.Desktop.Infrastructure (Module: Genesyslab.Desktop.Infrastructure) Version: 8.0.2.15 (8.0.002.15)