ValidationHelper GetValue T  Method (Object, T)Kentico 8.1 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.1.5347.20411)

Parameters

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

Return Value

Type: T
See Also