ArcGIS Pro 2.9 API Reference Guide
Contains(SubscriptionToken) Method

ArcGIS.Core.Events Namespace > RegisteredPresentationEvent<TSubscriptionParam,TPayload> Class > Contains Method : Contains(SubscriptionToken) Method
The SubscriptionToken returned by EventBase while subscribing to the event.
Returns true if there is a subscriber matching SubscriptionToken.
Syntax
protected internal bool Contains( 
   SubscriptionToken token
)
Protected Friend Overloads Function Contains( _
   ByVal token As SubscriptionToken _
) As Boolean

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, Windows 8.1

See Also

Reference

RegisteredPresentationEvent<TSubscriptionParam,TPayload> Class
RegisteredPresentationEvent<TSubscriptionParam,TPayload> Members
Overload List