OpenXmlPartWriter.WriteStartElement-Methode (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 Overrides Sub WriteStartElement ( _
elementObject As OpenXmlElement, _
attributes As IEnumerable(Of OpenXmlAttribute) _
)
'Usage
Dim instance As OpenXmlPartWriter
Dim elementObject As OpenXmlElement
Dim attributes As IEnumerable(Of OpenXmlAttribute)
instance.WriteStartElement(elementObject, _
attributes)
public override void WriteStartElement(
OpenXmlElement elementObject,
IEnumerable<OpenXmlAttribute> attributes
)
Parameter
- elementObject
Typ: DocumentFormat.OpenXml.OpenXmlElement
The OpenXmlElement object to be writen.
- attributes
Typ: System.Collections.Generic.IEnumerable<OpenXmlAttribute>
The attributes to be writtern.