OpenXmlWriter.WriteStartElement Method (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
'宣言
Public MustOverride Sub WriteStartElement ( _
elementReader As OpenXmlReader, _
attributes As IEnumerable(Of OpenXmlAttribute) _
)
'使用
Dim instance As OpenXmlWriter
Dim elementReader As OpenXmlReader
Dim attributes As IEnumerable(Of OpenXmlAttribute)
instance.WriteStartElement(elementReader, _
attributes)
public abstract void WriteStartElement(
OpenXmlReader elementReader,
IEnumerable<OpenXmlAttribute> attributes
)
Parameters
- elementReader
Type: DocumentFormat.OpenXml.OpenXmlReader
The OpenXmlReader to read from.
- attributes
Type: System.Collections.Generic.IEnumerable<OpenXmlAttribute>
The attributes to be writtern.