Share via


OpenXmlReader.NamespaceDeclarations Property

Gets the namespace declarations in the current element.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property NamespaceDeclarations As IEnumerable(Of KeyValuePair(Of String, String))
    Get
'Usage
Dim instance As OpenXmlReader
Dim value As IEnumerable(Of KeyValuePair(Of String, String))

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

Property Value

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

See Also

Reference

OpenXmlReader Class

OpenXmlReader Members

DocumentFormat.OpenXml Namespace