System.Xml.XmlNamespaceManager.PushScope Method

Pushes a namespace scope onto the stack.

Syntax

public virtual void PushScope ()

Remarks

After a call to this method, all namespaces, which are added to System.Xml.XmlNamespaceManager (by calling XmlNamespaceManager.AddNamespace(string, string)), belong to the pushed namespace scope.

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