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

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

Parameters

column
Type: CMS.DataEngine.QueryColumn
Query column
xQuery
Type: System.String
XQuery expression
dataType
Type: System.String
Data type to which the cast should be done. See FieldDataType
size (Optional)
Type: System.Int32
Size of the type
precision (Optional)
Type: System.Int32
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