ArcGIS Pro 2.8 API Reference Guide
Unsubscribe(Func<LayersRemovingEventArgs,Task>) Method

ArcGIS.Desktop.Mapping.Events Namespace > LayersRemovingEvent Class > Unsubscribe Method : Unsubscribe(Func<LayersRemovingEventArgs,Task>) 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( 
   Func<LayersRemovingEventArgs,Task> action
)
Public Overloads Shared Sub Unsubscribe( _
   ByVal action As Func(Of LayersRemovingEventArgs,Task) _
) 

Parameters

action
The delegate used when subscribing to the event.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayersRemovingEvent Class
LayersRemovingEvent Members
Overload List