Kentico 11 API Reference
Kentico 11 API Reference
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
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: 11.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) 2017 Kentico Software
Send comments on this topic to
support@kentico.com