AtomPub10ServiceDocumentFormatter.WriteTo(XmlWriter) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 ServiceDocument 與格式化器相關的物件寫入指定的 XML 寫入器。
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
由格式化器寫入的 XML 寫入器。
例外狀況
writer 是 null。
與格式化器相關的服務文件為 null。