MetadataSet.IXmlSerializable.WriteXml(XmlWriter) 方法

定义

实现 WriteXml(XmlWriter) 方法,以支持到 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

写入 XML 时要使用的编写器。

实现

例外

编写器为 null

适用于