QueryColumnXmlExtensions.XmlValue Method |
Applies an XML value method against an XML column.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntaxpublic 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:
QueryColumnUsage 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