ArcGIS Pro 2.6 API Reference Guide
Unsubscribe(SubscriptionToken) Method

ArcGIS.Desktop.Layouts.Events Namespace > LayoutAddedEvent Class > Unsubscribe Method : Unsubscribe(SubscriptionToken) Method
The SubscriptionToken returned when subscribing to the event.
Removes the subscriber matching the SubscriptionToken.
Syntax
public static void Unsubscribe( 
   SubscriptionToken token
)
Public Overloads Shared Sub Unsubscribe( _
   ByVal token As SubscriptionToken _
) 

Parameters

token
The SubscriptionToken returned when subscribing to the event.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

LayoutAddedEvent Class
LayoutAddedEvent Members
Overload List