Click or drag to resize

OpenXmlPartWriterWriteStartElement(OpenXmlReader, IEnumerableOpenXmlAttribute, IEnumerableKeyValuePairString, String) Method

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) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntax
public override void WriteStartElement(
	OpenXmlReader elementReader,
	IEnumerable<OpenXmlAttribute> attributes,
	IEnumerable<KeyValuePair<string, string>> namespaceDeclarations
)

Parameters

elementReader  OpenXmlReader
The OpenXmlReader to read from.
attributes  IEnumerableOpenXmlAttribute
The attributes to be written, can be null if no attributes.
namespaceDeclarations  IEnumerableKeyValuePairString, String
The namespace declarations to be written, can be null if no namespace declarations.
See Also