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

Writes the document out to an XmlWriterXmlWriterXmlWriter.

Syntax

Public Sub WriteTo( _
    writer As System.Xml.XmlWriter _
)
public void WriteTo(
    System.Xml.XmlWriter writer
)
public:
void WriteTo(
    System.Xml::XmlWriter^ writer
)
 

Parameters

writer

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

The destination to write the result to.

Exceptions

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