Example #1
0
        private List <string> getNames(esriDatasetType dType)
        {
            geoDatabaseUtility geoUtil = new geoDatabaseUtility();
            List <string>      lyrLst  = new List <string>();

            switch (dType)
            {
            case esriDatasetType.esriDTFeatureClass:
                lyrLst = geoUtil.getAllFeatureNames(prjDatabase);
                break;

            case esriDatasetType.esriDTRasterDataset:
                lyrLst = geoUtil.getAllRasterNames(prjDatabase);
                break;

            case esriDatasetType.esriDTTable:
                lyrLst = geoUtil.getAllTableNames(prjDatabase);
                break;

            default:
                break;
            }
            return(lyrLst);
        }
 private List<string> getNames(esriDatasetType dType)
 {
     geoDatabaseUtility geoUtil = new geoDatabaseUtility();
     List<string> lyrLst = new List<string>();
     switch (dType)
     {
         case esriDatasetType.esriDTFeatureClass:
             lyrLst = geoUtil.getAllFeatureNames(prjDatabase);
             break;
         case esriDatasetType.esriDTRasterDataset:
             lyrLst = geoUtil.getAllRasterNames(prjDatabase);
             break;
         case esriDatasetType.esriDTTable:
             lyrLst = geoUtil.getAllTableNames(prjDatabase);
             break;
         default:
             break;
     }
     return lyrLst;
 }