Select to view content in your preferred language

How to call Geoprocessor's InsertCursor?

695
1
Jump to solution
09-23-2013 10:39 AM
ShaningYu
Honored Contributor
The IGPDispatch interfaces is in the Geoprocessing library.  I tried to call the method: InsertCursor in a .Net project like that:
            GeoProcessor gp = new GeoProcessor();
But gp. does not display the InsertCursor.  How to do it?  Thanks.
0 Kudos
1 Solution

Accepted Solutions
ShaningYu
Honored Contributor
Partially solved by
            IGpDispatch gpDispatch;
            ESRI.ArcGIS.Geodatabase.IRow row = gpDispatch.SearchCursor(...);
Since I adapted approach to do the search (see http://forums.arcgis.com/threads/93160-How-to-loop-features-through-FeatureClass-w-o-using-IFeatureL...), I close this thread as Solved.

View solution in original post

0 Kudos
1 Reply
ShaningYu
Honored Contributor
Partially solved by
            IGpDispatch gpDispatch;
            ESRI.ArcGIS.Geodatabase.IRow row = gpDispatch.SearchCursor(...);
Since I adapted approach to do the search (see http://forums.arcgis.com/threads/93160-How-to-loop-features-through-FeatureClass-w-o-using-IFeatureL...), I close this thread as Solved.
0 Kudos