A Sandcastle Documented Class Library
ConfigGetIntAppSettingConfigValue Method |
Get a value from the AppSetting section of the web config.
Namespace: NSG.Library.Helpers
Assembly: NSG.Library.Helpers (in NSG.Library.Helpers.dll) Version: 1.0.1.17 (1.0.1.17)
Syntax
public static int GetIntAppSettingConfigValue( string configAppKey, int defaultValue )
Public Shared Function GetIntAppSettingConfigValue ( configAppKey As String, defaultValue As Integer ) As Integer
public: static int GetIntAppSettingConfigValue( String^ configAppKey, int defaultValue )
static member GetIntAppSettingConfigValue : configAppKey : string * defaultValue : int -> int
Parameters
- configAppKey
- Type: SystemString
AppSetting key value - defaultValue
- Type: SystemInt32
if not found return this integer value
Return Value
Type: Int32integer value in the appSetting section in the config file.
See Also