共用方式為


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 的寫入器。

實作

例外狀況

writer 為 null

適用於