ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Events Namespace / RegisteredPresentationEvent<TSubscriptionParam,TPayload> Class / Contains Method / Contains(SubscriptionToken) Method
The SubscriptionToken returned by EventBase while subscribing to the event.
Version

Contains(SubscriptionToken) Method
Returns true if there is a subscriber matching SubscriptionToken.
Syntax
protected internal bool Contains( 
   SubscriptionToken token
)

Parameters

token
The SubscriptionToken returned by EventBase while subscribing to the event.

Return Value

true if there is a SubscriptionToken that matches; otherwise false.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also