来自:https://github.com/Esri/arcgis-pro-sdk-community-samples
internal void ZoomToFeature(long oid) { if (oid == -1) return; var mapView = MapView.Active; QueuedTask.Run(() => { mapView.ZoomTo(_featureLayer, oid); mapView.FlashFeature(_featureLayer, oid); }); }