ArcGIS Pro 2.9 API Reference Guide
Unsubscribe(SubscriptionToken) Method

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

Parameters

token
The ArcGIS.Core.Events.SubscriptionToken returned when subscribing to the event.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ViewingModeChangedEvent Class
ViewingModeChangedEvent Members
Overload List