IFeature feature = geoFeatureLayer.FeatureClass.GetFeature( geoFeatureLayer.FeatureClass.FeatureClassID ); geoFeatureLayer.Renderer.get_SymbolByFeature( feature );
It is not possible for a feature to have an ObjectId of -1.
GetFeature() takes the ObjectId of the feature you want it to return.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.