Gets the setting value by the specific key.

Namespace: DotNetNuke.Entities.Controllers
Assembly: 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

ExceptionCondition
System..::..ArgumentExceptionkey is empty.

See Also