System.Xml.XmlNamespaceManager Members

The members of System.Xml.XmlNamespaceManager are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Xml.XmlNamespaceManager class with the specified System.Xml.XmlNameTable.

Public Properties

[read-only]
DefaultNamespacestring.

Gets the namespace URI for the default namespace.

[read-only]
NameTableXmlNameTable.

Gets the System.Xml.XmlNameTable associated with this object.

Public Methods

AddNamespace(string, string)

Adds the given namespace to the collection.

GetEnumerator() : IEnumerator

Returns an enumerator to use to iterate through the namespaces in the System.Xml.XmlNamespaceManager.

GetNamespacesInScope(XmlNamespaceScope) : IDictionary<string, string>

Gets a collection of namespace names keyed by prefix which can be used to enumerate the namespaces currently in scope.

HasNamespace(string) : bool

Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope.

LookupNamespace(string) : string

Gets the namespace URI for the specified prefix.

LookupPrefix(string) : string

Finds the prefix declared for the given namespace URI.

PopScope() : bool

Pops a namespace scope off the stack.

PushScope()

Pushes a namespace scope onto the stack.

RemoveNamespace(string, string)

Removes the given namespace for the given prefix.

Explicitly Implemented Interface Members

System.Xml.IXmlNamespaceResolver.GetNamespacesInScopeDocumentation for this section has not yet been entered.