I have an axMapControl.Map, I am trying to get a featureClass. I want to use this feature class to call create a GeoProcessor
IGeoProcessorResult result = GP.Execute(someFeatureClass, null) as IGeoProcessorResult;
asked Sep 7, 2010 at 16:20
1 Answer 1
On the IMap object you have a ILayer layers collection, search for you layer in that collection. When you find your layer cast it to a IFeatureLayer it has a FeatureClass property.
answered Sep 7, 2010 at 18:00