sriRasterEnvSettingEnum.esriRasterEnvValue,refcellSizeProvider);pRasterAnalysisEnvironment.OutWorkspace=pShpWorkspace;doubledInterval=5;//间距IGeoDatasetpOutputDataSet=pSurfaceOp2.Contour(pGeoDataSet,dInterval,refMissing,refMissing);IFeatureClasspFeatureClass=pOutputDataSetasIFeatureClass;IFeatureLayerpFeatureLayer=newFeatureLayerClass();pFeatureLayer.FeatureClass=pFeatureClass;IGeoFeatureLayerpGeoFeatureLayer=pFeatureLayerasIGeoFeatureLayer;pGeoFeatureLayer.DisplayAnnotation=true;pGeoFeatureLayer.DisplayField="Contour";pGeoFeatureLayer.Name="降雨量等值线";pMap.AddLayer(pGeoFeatureLayer);axMapControl1.Refresh();//删除【降雨量】字段IFieldspFields=pFeatCla.Fields;intlFieldnumber=pFields.FindField("降雨量");IFieldpField1=pFields.get_Field(lFieldnumber);pFeatCla.DeleteField(pField);}