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

Serializes the result of the query to the specified StreamStreamStream.

Syntax

Public Sub Serialize( _
    stream As System.IO.Stream _
)
public void Serialize(
    System.IO.Stream stream
)
public:
void Serialize(
    System.IO::Stream^ stream
)
 

Parameters

stream

Type: System.IO.StreamSystem.IO.StreamSystem.IO::Stream^

The StreamStreamStream to which the result of the query will be written.

Exceptions

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