Поделиться через


OpenXmlPartWriter.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 Overrides Sub WriteStartElement ( _
    elementReader As OpenXmlReader, _
    attributes As IEnumerable(Of OpenXmlAttribute), _
    namespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String)) _
)
'Usage
Dim instance As OpenXmlPartWriter
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 override void WriteStartElement(
    OpenXmlReader elementReader,
    IEnumerable<OpenXmlAttribute> attributes,
    IEnumerable<KeyValuePair<string, string>> namespaceDeclarations
)

Parameters

See Also

Reference

OpenXmlPartWriter Class

OpenXmlPartWriter Members

WriteStartElement Overload

DocumentFormat.OpenXml Namespace