Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Helpers Namespaces
CMS.Helpers
ConversionService Class
ConversionService Methods
GetBoolean Method
GetCodeName Method
GetDateTime Method
GetDecimal Method
GetDouble Method
GetGuid Method
GetIdentifier Method
GetInteger Method
GetString Method
GetValue(T) Method
ConversionService
GetInteger Method
Returns the integer representation of an object or default value if not.
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
Copy
public
int
GetInteger
(
Object
value
,
int
defaultValue
)
Parameters
value
Type:
System
Object
Value to convert
defaultValue
Type:
System
Int32
Default value
Return Value
Type:
Int32
Implements
IConversionService
GetInteger(Object, Int32)
See Also
Reference
ConversionService Class
CMS.Helpers Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com