Gets the setting value by the specific key.
Namespace: DotNetNuke.Entities.ControllersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public int GetInteger( string key ) |
Visual Basic |
---|
Public Function GetInteger ( key As String ) As Integer |
Parameters
- key
- Type: System..::..String
The key.
Return Value
host setting's value.Implements
IHostController..::..GetInteger(String)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | key is empty. |