Click or drag to resize
DataHelperConvertValue Method (Object, Type, Object)
Converts the value to a specific type. Returns true if conversion was possible, otherwise false.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static bool ConvertValue(
	Object value,
	Type type,
	ref Object result
)

Parameters

value
Type: SystemObject
Value to convert
type
Type: SystemType
Target type
result
Type: SystemObject
Result of the conversion

Return Value

Type: Boolean
See Also