如何删除10个字符的限制? 在形状文件中实现导出。
创建
IFieldsEdit fieldsEdit = (IFieldsEdit)fields;
// Create field
IField field = new FieldClass();
field.Name_2 = "DATE_CREATED"; // 12 chars
field.Type_2 = esriFieldType.esriFieldTypeString;
field.Length_2 = 20;
fieldsEdit.AddField(field);
var fClass = featureWorkspace.CreateFeatureClass(featureName, fields, null, null,
esriFeatureType.esriFTSimple, "Shape", "");
停止
var f = fClass.CreateFeature();
var name = f.Fields.Field[2].Name; // 10 chars
// out name Field: DATE_CREAT
}
显示全名字段?