Hi,
We can subscribe the RowChangedEvent for all the layers by looping through FeatureLayers in the Map. But I need to Unsubscribe the RowChangeEvent after the first event from all the layers. I could done with a single layer, but If I'm subscribing multiple layers, I can't unsubscribe by RowChangedEvent.Unsubscripe(_rowChangeToken). Any suggestions?
Solved! Go to Solution.
Hi ,
You need to save all event subscription tokens to list first, then unsubscribe one by one from list. There is ArcGIS Pro SDK community sample EditEvents . You can find usable code here.
Hi ,
You need to save all event subscription tokens to list first, then unsubscribe one by one from list. There is ArcGIS Pro SDK community sample EditEvents . You can find usable code here.
It got resolved. Thanks you @GKmieliauskas