I checked this example: https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Editing#subscribe-to-row-events
It shows how to subscribe to EditEvents but it does not show how to unsubscribe.
The unsubscribe uses LayerEvents that is created when you subscribe.
I would like to subscribe some layers in my TOC to edit events.
Then I also subscribe to OnLayersRemoved and in there I need to unsubscribe the removed FeatureLayer
How do I do it or do I really need to do it since I cannot edit the layer when it in not inside Pro.
Thanks
Mody
Hi,
EditEvents sample shows how to unsubscribe from editEvents