Gets the value as an integer from the configuration manager.

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 )

- configManager (IConfigManager)
- The configuration manager.
- key (String)
- The key.
- defaultValue (Int32)
- The default value.

The value as an integer.