Click or drag to resize
IConversionServiceGetValueT Method
Converts the value to specified type. If the value is null, default value is used.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 9.0.0
Syntax
C#
T GetValue<T>(
	Object value,
	T defaultValue
)

Parameters

value
Type: SystemObject
Value to convert
defaultValue
Type: T
Default value

Type Parameters

T
Result type

Return Value

Type: T
See Also