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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.