共用方式為


XmlAttribute.WriteContentTo(XmlWriter) 方法

定義

將節點的所有子節點儲存到指定的 XmlWriter

public:
 override void WriteContentTo(System::Xml::XmlWriter ^ w);
public override void WriteContentTo(System.Xml.XmlWriter w);
override this.WriteContentTo : System.Xml.XmlWriter -> unit
Public Overrides Sub WriteContentTo (w As XmlWriter)

參數

w
XmlWriter

XmlWriter你想要節省的金額。

備註

此方法是 Microsoft 對文件物件模型(DOM)的擴充。 它在功能上等同於該 InnerXml 性質。

適用於