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: 13.0.131
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