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