編輯

共用方式為


XmlAttribute.WriteContentTo(XmlWriter) Method

Definition

Saves all the children of the node to the specified 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)

Parameters

w
XmlWriter

The XmlWriter to which you want to save.

Remarks

This method is a Microsoft extension to the Document Object Model (DOM). It is functionally equivalent to the InnerXml property.

Applies to