Click or drag to resize
QueryColumnXmlExtensionsXmlValue Method
Applies an XML value method against an XML column.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static QueryColumn XmlValue(
	this QueryColumn column,
	string xQuery,
	string dataType,
	int size = 0,
	int precision = 0
)

Parameters

column
Type: CMS.DataEngineQueryColumn
Query column
xQuery
Type: SystemString
XQuery expression
dataType
Type: SystemString
Data type to which the cast should be done. See FieldDataType
size (Optional)
Type: SystemInt32
Size of the type
precision (Optional)
Type: SystemInt32
Precision of the type

Return Value

Type: QueryColumn

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type QueryColumn. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also