 | 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.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic abstract void WriteStartElement(
OpenXmlElement elementObject,
IEnumerable<OpenXmlAttribute> attributes,
IEnumerable<KeyValuePair<string, string>> namespaceDeclarations
)
Public MustOverride Sub WriteStartElement (
elementObject As OpenXmlElement,
attributes As IEnumerable(Of OpenXmlAttribute),
namespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String))
)
public:
virtual void WriteStartElement(
OpenXmlElement^ elementObject,
IEnumerable<OpenXmlAttribute>^ attributes,
IEnumerable<KeyValuePair<String^, String^>>^ namespaceDeclarations
) abstract
abstract WriteStartElement :
elementObject : OpenXmlElement *
attributes : IEnumerable<OpenXmlAttribute> *
namespaceDeclarations : IEnumerable<KeyValuePair<string, string>> -> unit
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