Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.Helpers
ConversionService Class
ConversionService Methods
GetBoolean Method
GetCodeName Method
GetDateTime 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: 8.2.23
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) 2015 Kentico Software
Send comments on this topic to
support@kentico.com