XDocumentType.WriteTo(XmlWriter) 方法

定義

將這個 XDocumentType 寫入 XmlWriterWrite this XDocumentType to an XmlWriter.

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)

參數

writer
XmlWriter

此方法將寫入其中的 XmlWriterAn XmlWriter into which this method will write.

備註

這個方法主要是由將 XML 樹狀結構寫入 XmlWriter的方法內部使用。This method is primarily used internally by the methods that write an XML tree to an XmlWriter.

適用於

另請參閱