Gets the setting value by the specific key.

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

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

See Also