OpenXmlElement.WriteTo Method
Saves the current node to the specified XmlWriter.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Overridable Sub WriteTo ( _
xmlWriter As XmlWriter _
)
'Usage
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.