Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
GetValueAsInt Method (configManager, key, defaultValue)
Namespaces ► Genesyslab.Desktop.Infrastructure ► Extensions ► GetValueAsInt(IConfigManager, String, Int32)
Gets the value as an integer from the configuration manager.
Declaration Syntax

C# | Visual Basic | Visual C++

    public static int GetValueAsInt(
    	this IConfigManager configManager,
    	string key,
    	int defaultValue
    )

    <ExtensionAttribute> _
    Public Shared Function GetValueAsInt ( _
    	configManager As IConfigManager, _
    	key As String, _
    	defaultValue As Integer _
    ) As Integer

    [ExtensionAttribute]
    public:
    static int GetValueAsInt(
    	IConfigManager^ configManager,
    	String^ key,
    	int defaultValue
    )

Parameters

configManager (IConfigManager)
  The configuration manager.

key (String)
  The key.

defaultValue (Int32)
  The default value.

Return Value
The value as an integer.

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