OpenXmlElement.NamespaceDeclarations Property

Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public ReadOnly Property NamespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String))
Dim instance As OpenXmlElement
Dim value As IEnumerable(Of KeyValuePair(Of String, String))

value = instance.NamespaceDeclarations
public IEnumerable<KeyValuePair<string, string>> NamespaceDeclarations { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>

See Also


OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace