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.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.