OpenXmlWriter.WriteStartElement Method (OpenXmlReader, IEnumerable<OpenXmlAttribute>, IEnumerable<KeyValuePair<String, String>>)

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 MustOverride Sub WriteStartElement ( _
    elementReader As OpenXmlReader, _
    attributes As IEnumerable(Of OpenXmlAttribute), _
    namespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String)) _
)
'Usage
Dim instance As OpenXmlWriter
Dim elementReader As OpenXmlReader
Dim attributes As IEnumerable(Of OpenXmlAttribute)
Dim namespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String))

instance.WriteStartElement(elementReader, _
    attributes, namespaceDeclarations)
public abstract void WriteStartElement(
    OpenXmlReader elementReader,
    IEnumerable<OpenXmlAttribute> attributes,
    IEnumerable<KeyValuePair<string, string>> namespaceDeclarations
)

Parameters

See Also

Reference

OpenXmlWriter Class

OpenXmlWriter Members

WriteStartElement Overload

DocumentFormat.OpenXml Namespace