XQuery.Serialize Method (IResultDocumentHandler, XPathItem)XQuery.Serialize Method (IResultDocumentHandler, XPathItem)XQuery::Serialize Method (IResultDocumentHandler^, XPathItem^)
Serializes the result of the query using an object which implements the
IResultDocumentHandlerIResultDocumentHandlerIResultDocumentHandler interface.
Syntax
Public Sub Serialize( _ resultDocumentHandler As IResultDocumentHandler, _ contextItem As System.Xml.XPath.XPathItem _ )
public void Serialize( IResultDocumentHandler resultDocumentHandler, System.Xml.XPath.XPathItem contextItem )
public: void Serialize( IResultDocumentHandler^ resultDocumentHandler, System.Xml.XPath::XPathItem^ contextItem )
Parameters
- resultDocumentHandler
Type: XmlPrime.IResultDocumentHandlerXmlPrime.IResultDocumentHandlerXmlPrime::IResultDocumentHandler^
The result document handler.
- contextItem
Type: System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem^
The context item for the query.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
resultDocumentHandler or contextItem is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | A dynamic error was encountered while evaluating the query. |