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: 9.0.0
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