OpenXmlWriter.WriteStartElement Method (OpenXmlElement, IEnumerable<OpenXmlAttribute>)

Writes out a start tag of the element. And write the attributes in attributes. The attributes of the element will be omitted.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public MustOverride Sub WriteStartElement ( _
    elementObject As OpenXmlElement, _
    attributes As IEnumerable(Of OpenXmlAttribute) _
)
'Usage
Dim instance As OpenXmlWriter
Dim elementObject As OpenXmlElement
Dim attributes As IEnumerable(Of OpenXmlAttribute)

instance.WriteStartElement(elementObject, _
    attributes)
public abstract void WriteStartElement(
    OpenXmlElement elementObject,
    IEnumerable<OpenXmlAttribute> attributes
)

Parameters

See Also

Reference

OpenXmlWriter Class

OpenXmlWriter Members

WriteStartElement Overload

DocumentFormat.OpenXml Namespace