您好,您可以自己写一个方法,判断该字段是否是系统字段,示范代码如下:
private String[] array = { "SmID", "SMUSERID", "SMAREA", "SMPERIMETER", "SMPERIMETER", "SMGEOMETRYSIZE" };//系统字段
private Boolean isSysField(String fieldName)
{
bool result = false;
try
{
for (int i = 0; i < array.Length; i++)
{
if (array[i] == fieldName)
{
result = true;
}
}
return result;
}
catch (Exception ex)
{
}
}//判断字段是否是系统字段