AtomPub10ServiceDocumentFormatter.WriteTo(XmlWriter) Method

Definition

Writes a ServiceDocument object associated with the formatter to a specified XML writer.

public:
 override void WriteTo(System::Xml::XmlWriter ^ writer);
public override void WriteTo (System.Xml.XmlWriter writer);
override this.WriteTo : System.Xml.XmlWriter -> unit
Public Overrides Sub WriteTo (writer As XmlWriter)

Parameters

writer
XmlWriter

The XML writer written to by the formatter.

Exceptions

writer is null.

The service document associated with the formatter is null.

Applies to