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 方法。

适用于