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