Kentico 9.0 API Reference
Kentico 9.0 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
GetBoolean Method
Returns the boolean representation of an object or default value if not.
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
Copy
public
bool
GetBoolean
(
Object
value
,
bool
defaultValue
)
Parameters
value
Type:
System
Object
Value to convert
defaultValue
Type:
System
Boolean
Default value
Return Value
Type:
Boolean
Implements
IConversionService
GetBoolean(Object, Boolean)
See Also
Reference
ConversionService Class
CMS.Helpers Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com