共用方式為


AtomPub10ServiceDocumentFormatter.IXmlSerializable.WriteXml(XmlWriter) 方法

定義

ServiceDocument 轉換為其 XML 表示。

 virtual void System.Xml.Serialization.IXmlSerializable.WriteXml(System::Xml::XmlWriter ^ writer) = System::Xml::Serialization::IXmlSerializable::WriteXml;
void IXmlSerializable.WriteXml (System.Xml.XmlWriter writer);
abstract member System.Xml.Serialization.IXmlSerializable.WriteXml : System.Xml.XmlWriter -> unit
override this.System.Xml.Serialization.IXmlSerializable.WriteXml : System.Xml.XmlWriter -> unit
Sub WriteXml (writer As XmlWriter) Implements IXmlSerializable.WriteXml

參數

writer
XmlWriter

XmlWriter 資料流,物件會序列化至其中。

實作

例外狀況

writernull

沒有與格式子相關聯之 ServiceDocument 的執行個體。

備註

明確實作 WriteXml 方法。

適用於