private void AddFields(string shapeFilePath, string fieldName, esriFieldType type) { _shapeOp.FilePath = shapeFilePath; IFeatureClass pFeatureClass = _shapeOp.OpenFeatureClass(); if (pFeatureClass.Fields.FindField(fieldName) == -1) { _shapeOp.AddField(pFeatureClass, fieldName, type); GC.Collect(); } }