Click or drag to resize

OpenXmlWriterWriteStartElement(OpenXmlElement, IEnumerableOpenXmlAttribute, IEnumerableKeyValuePairString, String) Method

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) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public abstract void WriteStartElement(
	OpenXmlElement elementObject,
	IEnumerable<OpenXmlAttribute> attributes,
	IEnumerable<KeyValuePair<string, string>> namespaceDeclarations
)

Parameters

elementObject  OpenXmlElement
The OpenXmlElement object to be written.
attributes  IEnumerableOpenXmlAttribute
The attributes to be written.
namespaceDeclarations  IEnumerableKeyValuePairString, String
The namespace declarations to be written, can be null if no namespace declarations.
See Also