Спасибо за подсказку. Оттуда наковырял следующее, если кого заинтересует:
//подключение к шейпу
private static IFeatureClass OpenFeatureClass(string stringWorkspace, string stringFeatureClass)
{
IWorkspaceName workspaceName = new WorkspaceNameClass();
workspaceName.PathName = stringWorkspace;
workspaceName.WorkspaceFactoryProgID = "esriDataSourcesFile.ShapefileWorkspaceFactory";
IDatasetName datasetName = new FeatureClassNameClass();
datasetName.Name = stringFeatureClass;
datasetName.WorkspaceName = workspaceName;
IName name = (IName) datasetName;
return (IFeatureClass) name.Open();
}
//сама реализация
private void Form1_Load(object sender, System.EventArgs e)
{
IQueryFilter qFilter=new QueryFilterClass();
qFilter.AddField("*");
int intFeatureCount = 0;
IFeatureClass featureClassOut = OpenFeatureClass(@"e:\", "geof");
if (featureClassOut == null)
{
throw new Exception("Cannot Open Output FeatureClass");
}
IFeatureCursor fCursor = featureClassOut.Update(qFilter,true);
IFeature feature = fCursor.NextFeature();
while (feature != null)
{
if (++intFeatureCount == 100)
{
fCursor.Flush();
intFeatureCount = 0;
}
feature.set_Value(feature.Fields.FindField("Name"),"aaa");
listBox1.Items.Add(feature.get_Value(3).ToString());
fCursor.UpdateFeature(feature);
feature = fCursor.NextFeature();
}
fCursor.Flush();
}