Click or drag to resize
DataHelperParseXmlValue Method
Parses the XML value according to its type.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
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: Object
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue
See Also