/// <summary>
/// 添加字段 konghuifang 20171017
/// </summary>
/// <returns></returns>
public List<IField> CreateFields()
{
//设置字段集
IFields pFields = new FieldsClass();
IFieldsEdit pFieldsEdit = (IFieldsEdit)pFields;
//设置字段
IField pField = new FieldClass();
IFieldEdit pFieldEdit = (IFieldEdit)pField;
List<IField> fieldList = new List<IField>();
pFieldEdit.Name_2 = "SHAPE";
pFieldEdit.Type_2 = esriFieldType.esriFieldTypeGeometry;
pFieldsEdit.AddField(pField);
fieldList.Add(pField);
//添加其他的字段
IField pField2 = new FieldClass();
IFieldEdit pFieldEdit2 = (IFieldEdit)pField2;
pFieldEdit2.Type_2 = esriFieldType.esriFieldTypeOID;
pFieldsEdit.AddField(pField2);
fieldList.Add(pField2);
IField pField1 = new FieldClass();
pFieldEdit = (IFieldEdit)pField1;
pFieldEdit.Name_2 = "wkt";
pFieldEdit.Type_2 = esriFieldType.esriFieldTypeString;
pFieldsEdit.AddField(pField1);
fieldList.Add(pField1);
IField pField3 = new FieldClass();
IFieldEdit pFieldEdit3 = (IFieldEdit)pField3;
pFieldEdit3.Name_2 = "str1";
pFieldEdit3.Type_2 = esriFieldType.esriFieldTypeString;
pFieldsEdit.AddField(pField3);
fieldList.Add(pField3);
IField pField4 = new FieldClass();
IFieldEdit pFieldEdit4 = (IFieldEdit)pField4;
pFieldEdit4.Name_2 = "str2";
pFieldEdit4.Type_2 = esriFieldType.esriFieldTypeString;
pFieldsEdit.AddField(pField4);
fieldList.Add(pField4);
return fieldList;
}