获取矢量图层的属性值
矢量数据属性值的查询
// 矢量点数据
IPoint pt = pFeature.Shape as IPoint;
// 得到矢量点的 x,y
double x = pt.x;double y = pt.y;
// 矢量属性数据的查询
int fid;
for (k = 0; k < pFeature.Table.Fields.FieldCount; k++)
{
if (pFeature.Table.Fields.get_Field(k).Name == "FID")
fid=(int)pFeature.get_Value(k);
break;
}