コード例 #1
0
        public void refreshCatalog(string path)
        {
            IGPUtilities2 gpUtl = new GPUtilitiesClass() as IGPUtilities2;
            IGeoProcessor gp    = getGP();
            IGPDataType   nm    = new GPDateTypeClass();
            object        dt    = "";
            IDataElement  dtE   = gp.GetDataElement(path, ref dt);

            gpUtl.RefreshCatalog(dtE);
        }
 public void refreshCatalog(string path)
 {
     IGPUtilities2 gpUtl = new GPUtilitiesClass() as IGPUtilities2;
     IGeoProcessor gp = getGP();
     IGPDataType nm = new GPDateTypeClass();
     object dt = "";
     IDataElement dtE = gp.GetDataElement(path,ref dt);
     gpUtl.RefreshCatalog(dtE);
 }