 | OpenXmlWriterWriteStartElement(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.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntaxpublic abstract void WriteStartElement(
OpenXmlReader elementReader,
IEnumerable<OpenXmlAttribute> attributes,
IEnumerable<KeyValuePair<string, string>> namespaceDeclarations
)
Public MustOverride Sub WriteStartElement (
elementReader As OpenXmlReader,
attributes As IEnumerable(Of OpenXmlAttribute),
namespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String))
)
public:
virtual void WriteStartElement(
OpenXmlReader^ elementReader,
IEnumerable<OpenXmlAttribute>^ attributes,
IEnumerable<KeyValuePair<String^, String^>>^ namespaceDeclarations
) abstract
abstract WriteStartElement :
elementReader : OpenXmlReader *
attributes : IEnumerable<OpenXmlAttribute> *
namespaceDeclarations : IEnumerable<KeyValuePair<string, string>> -> unit 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