 | OpenXmlPartWriterWriteStartElement(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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntaxpublic override void WriteStartElement(
OpenXmlElement elementObject,
IEnumerable<OpenXmlAttribute> attributes,
IEnumerable<KeyValuePair<string, string>> namespaceDeclarations
)
Public Overrides 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
) override
abstract WriteStartElement :
elementObject : OpenXmlElement *
attributes : IEnumerable<OpenXmlAttribute> *
namespaceDeclarations : IEnumerable<KeyValuePair<string, string>> -> unit
override 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