arcgis 批量增加图层字段,有需要的交流
核心代码
for (int Index = 0; Index < PropertyFields.FieldCount; ++Index)
{
if (PropertyFields.get_Field(Index).Type != esriFieldType.esriFieldTypeGeometry)
fieldsEdit.AddField(PropertyFields.get_Field(Index));
}