Click or drag to resize
ConversionServiceGetValueT Method
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: 13.0.131
Syntax
C#
public 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

Implements

IConversionServiceGetValueT(Object, T)
See Also