Click or drag to resize
QueryHelperGetInteger Method
Returns the integer representation of a query parameter or default value if parameter is not an integer number.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static int GetInteger(
	string name,
	int defaultValue
)

Parameters

name
Type: SystemString
Query parameter
defaultValue
Type: SystemInt32
Default value

Return Value

Type: Int32
See Also