Freigeben über


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)

Syntax

'Declaration
Public ReadOnly Property NamespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String))
    Get
'Usage
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

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace