DataHelperParseXmlValue Method |
Parses the XML value according to its type.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static Object ParseXmlValue(
string value,
Type type,
string columnName,
string cultureName = null
)
Parameters
- value
- Type: SystemString
Value to convert - type
- Type: SystemType
Object type of the converting column - columnName
- Type: SystemString
Name of the converting column - cultureName (Optional)
- Type: SystemString
Culture to use for parsing double, decimal and datetime values. English culture is used if not specified
Return Value
Type:
ObjectExceptions See Also