System.Xml.XmlNamespaceManager.PushScope C# (CSharp) Метод

PushScope() публичный Метод

public PushScope ( ) : void
Результат 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