Exemplo n.º 1
0
 public bool Delete()
 {
     if (_file != null)
     {
         return(_file.Delete());
     }
     return(false);
 }
Exemplo n.º 2
0
        public bool DeleteFeatureClass(string fcName)
        {
            if (_name == "")
            {
                return(false);
            }
            SHPFile file = new SHPFile(_name + @"\" + fcName + ".shp");

            return(file.Delete());
        }
Exemplo n.º 3
0
        public Task <bool> DeleteFeatureClass(string fcName)
        {
            if (_name == "")
            {
                return(Task.FromResult(false));
            }

            SHPFile file = new SHPFile(_name + @"/" + fcName + ".shp");

            return(Task.FromResult(file.Delete()));
        }