XmlNamespaceManager.PopScope Method ()

 

Pops a namespace scope off the stack.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

abstract PopScope : unit -> bool
override PopScope : unit -> bool

Return Value

Type: System.Boolean

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

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

The following example adds prefix/namespace pairs to the XmlNamespaceManager and then displays all the pairs in the collection.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: