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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.