XQuery.ToXQueryX Method (string, XmlWriter, BoundarySpace)XQuery.ToXQueryX Method (String, XmlWriter, BoundarySpace)XQuery::ToXQueryX Method (String^, XmlWriter^, BoundarySpace)

Writes the specified query to the specified XmlWriterXmlWriterXmlWriter using the XML Syntax for XQuery 1.0 (XQueryX).

Syntax

Public Shared Sub ToXQueryX( _
    query As String, _
    writer As System.Xml.XmlWriter, _
    boundarySpace As BoundarySpace _
)
public static void ToXQueryX(
    string query,
    System.Xml.XmlWriter writer,
    BoundarySpace boundarySpace
)
public:
static void ToXQueryX(
    String^ query, 
    System.Xml::XmlWriter^ writer, 
    BoundarySpace boundarySpace
)
 

Parameters

query

Type: System.StringSystem.StringSystem::String^

The XQuery program to convert to XML syntax.

writer

Type: System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter^

The XmlWriterXmlWriterXmlWriter to which the XML syntax will be written.

boundarySpace

Type: XmlPrime.BoundarySpaceXmlPrime.BoundarySpaceXmlPrime::BoundarySpace

The default boundary space policy used in the conversion.

Exceptions

ExceptionCondition
XdmExceptionXdmExceptionXdmExceptionAn error occurred parsing the query.