IFeatureClass 获取字段值
摘要:
//比如我们给出了确定的图层名,我们要获取到该图层具体有哪些字段?并取出来//先获取所有图层及其名字IMap pMap=axMapControl.Map;ILayer pLayer=null;for(int i=0;i<pMap.Layercount;i++){pLayer=pMap.get_layer(i);if (pLayer is IFeatureLayer)comboBoxEdit1.Properties.Items.Add(layer.Name);}//根据需要获取指定图层layerstring layerName="";ILayer layer=null; 阅读全文
posted @ 2013-03-05 12:56
很遗憾我不是
阅读(4804)
评论(0)
推荐(0)
浙公网安备 33010602011771号