Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.Helpers 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: 10.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) 2016 Kentico Software
Send comments on this topic to
support@kentico.com