ResultDocument.WriteTo Method (TextWriter)ResultDocument.WriteTo Method (TextWriter)ResultDocument::WriteTo Method (TextWriter^)

Writes the document out to a StreamStreamStream.

Syntax

Public Sub WriteTo( _
    textWriter As System.IO.TextWriter _
)
public void WriteTo(
    System.IO.TextWriter textWriter
)
public:
void WriteTo(
    System.IO::TextWriter^ textWriter
)
 

Parameters

textWriter

Type: System.IO.TextWriterSystem.IO.TextWriterSystem.IO::TextWriter^

The destination to write the result to.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptiontextWriter is null a null reference (Nothing in Visual Basic) nullptr.