OpenXmlElement.WriteTo Method
Saves the current node to the specified XmlWriter.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Overridable Sub WriteTo ( _
xmlWriter As XmlWriter _
)
用法
Dim instance As OpenXmlElement
Dim xmlWriter As XmlWriter
instance.WriteTo(xmlWriter)
public virtual void WriteTo(
XmlWriter xmlWriter
)
Parameters
- xmlWriter
Type: System.Xml.XmlWriter
The XmlWriter to which you want to save.