共用方式為


ContentLocator.WriteXml(XmlWriter) 方法

定義

ContentLocator 序列化為指定的 XmlWriter

public:
 virtual void WriteXml(System::Xml::XmlWriter ^ writer);
public void WriteXml (System.Xml.XmlWriter writer);
abstract member WriteXml : System.Xml.XmlWriter -> unit
override this.WriteXml : System.Xml.XmlWriter -> unit
Public Sub WriteXml (writer As XmlWriter)

參數

writer
XmlWriter

要用來序列化 ContentLocator 的 XML 寫入器。

實作

例外狀況

writernull

適用於

另請參閱