System.Xml.XmlNamespaceManager.PopScope Method

Pops a namespace scope off the stack.

Syntax

public virtual bool PopScope ()

Returns

true if there are namespace scopes left on the stack; false if there are no more namespaces to pop.

Remarks

When you call this method, all namespaces which were added to System.Xml.XmlNamespaceManager (by calling XmlNamespaceManager.AddNamespace(string, string)) since the last call to XmlNamespaceManager.PopScope are removed.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0