AE删除shp文件

 

IFeatureWorkspace FWS = workspaceFactory.OpenFromFile(@"D:\TempFolder\FloodGPServer\FloodGPServer\ToolData.gdb", 0) as IFeatureWorkspace;  
IFeatureClass pFeatureClass = FWS.OpenFeatureClass("shp");  
IDataset pDataset = pFeatureClass as IDataset;  
pDataset.Delete(); 

posted @ 2010-03-21 20:56  `X.x|嚨  阅读(495)  评论(0编辑  收藏  举报