ValidationHelper GetValue T  Method (Object, T)Kentico 8.0 API Reference
Converts the value to specified type. If the value is null, default value is used.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

value
Type: OnlineSystem Object
Value to convert
defaultValue
Type: T
Default value

Return Value

Type: T
See Also