System.Xml.XmlNamespaceManager.PushScope C# (CSharp) Méthode

PushScope() public méthode

public PushScope ( ) : void
Résultat void
        public virtual void PushScope() {
            scopeId++;
        }

Usage Example

 private static XmlNamespaceManager GetNsMgr(string csprojFile)
 {
     XmlNamespaceManager nsmgr = new XmlNamespaceManager(new XmlTextReader(csprojFile).NameTable);
     nsmgr.AddNamespace(Constants.MSBUILD, "http://schemas.microsoft.com/developer/msbuild/2003");
     nsmgr.PushScope();
     return nsmgr;
 }
All Usage Examples Of System.Xml.XmlNamespaceManager::PushScope