ArcGIS Pro 2.8 API Reference Guide
Unsubscribe(Action<LayerEventsArgs>) Method

ArcGIS.Desktop.Mapping.Events Namespace > LayersRemovedEvent Class > Unsubscribe Method : Unsubscribe(Action<LayerEventsArgs>) Method
The delegate used when subscribing to the event.
Removes the first subscriber matching the provided delegate from the subscribers' list.
Syntax
public static void Unsubscribe( 
   Action<LayerEventsArgs> action
)
Public Overloads Shared Sub Unsubscribe( _
   ByVal action As Action(Of LayerEventsArgs) _
) 

Parameters

action
The delegate used when subscribing to the event.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayersRemovedEvent Class
LayersRemovedEvent Members
Overload List