Click or drag to resize
IConversionServiceGetInteger Method
Returns the integer representation of an object or default value if not.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
int GetInteger(
	Object value,
	int defaultValue
)

Parameters

value
Type: SystemObject
Value to convert
defaultValue
Type: SystemInt32
Default value

Return Value

Type: Int32
See Also