OpenXmlPartRootElement.WriteTo Method
Saves the current node to the specified XmlWriter.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Overrides Sub WriteTo ( _
xmlWriter As XmlWriter _
)
'Usage
Dim instance As OpenXmlPartRootElement
Dim xmlWriter As XmlWriter
instance.WriteTo(xmlWriter)
public override void WriteTo(
XmlWriter xmlWriter
)
Parameters
- xmlWriter
Type: System.Xml.XmlWriter
The XmlWriter to which you want to save.