System.Xml.XmlNamespaceManager: Method Members

The methods of System.Xml.XmlNamespaceManager are listed below. For a list of all members, see the XmlNamespaceManager Members list.

See Also: Inherited members from System.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.