XQuery.Serialize Method (IResultDocumentHandler)XQuery.Serialize Method (IResultDocumentHandler)XQuery::Serialize Method (IResultDocumentHandler^)

Serializes the result of the query using an object which implements the IResultDocumentHandlerIResultDocumentHandlerIResultDocumentHandler interface.

Syntax

Public Sub Serialize( _
    resultDocumentHandler As IResultDocumentHandler _
)
public void Serialize(
    IResultDocumentHandler resultDocumentHandler
)
public:
void Serialize(
    IResultDocumentHandler^ resultDocumentHandler
)
 

Parameters

resultDocumentHandler

Type: XmlPrime.IResultDocumentHandlerXmlPrime.IResultDocumentHandlerXmlPrime::IResultDocumentHandler^

The result document handler.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException resultDocumentHandler is null a null reference (Nothing in Visual Basic) nullptr.
XdmExceptionXdmExceptionXdmException A dynamic error was encountered while evaluating the query.

Remarks

This method is suitable for both updating and non-updating queries.