DataHelperConvertValue Method (Object, Type, Object) |
Converts the value to a specific type. Returns true if conversion was possible, otherwise false.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax 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:
BooleanSee Also