OpenXmlPartWriter.WriteStartElement-Methode (OpenXmlReader, IEnumerable<OpenXmlAttribute>)
Writes out a start element tag of the current element of the OpenXmlReader. And write the attributes in attributes.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Overrides Sub WriteStartElement ( _
elementReader As OpenXmlReader, _
attributes As IEnumerable(Of OpenXmlAttribute) _
)
'Usage
Dim instance As OpenXmlPartWriter
Dim elementReader As OpenXmlReader
Dim attributes As IEnumerable(Of OpenXmlAttribute)
instance.WriteStartElement(elementReader, _
attributes)
public override void WriteStartElement(
OpenXmlReader elementReader,
IEnumerable<OpenXmlAttribute> attributes
)
Parameter
- elementReader
Typ: DocumentFormat.OpenXml.OpenXmlReader
The OpenXmlReader to read from.
- attributes
Typ: System.Collections.Generic.IEnumerable<OpenXmlAttribute>
The attributes to be writtern, can be null if no attrbutes.