XmlDocumentType.WriteContentTo(XmlWriter) 方法

定义

将该节点的所有子项保存到指定的 XmlWriter 中。Saves all the children of the node to the specified XmlWriter. 对于 XmlDocumentType 节点,此方法无效。For XmlDocumentType nodes, this method has no effect.

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

要保存到其中的 XmlWriterThe XmlWriter to which you want to save.

适用于