ArcGIS Pro 2.9 API Reference Guide
Contains(Action<TPayload>) Method

ArcGIS.Core.Events Namespace > CompositePresentationEvent<TPayload> Class > Contains Method : Contains(Action<TPayload>) Method
The Action used when subscribing to the event.
Returns true if there is a subscriber matching .
Syntax
protected internal bool Contains( 
   Action<TPayload> subscriber
)
Protected Friend Overloads Function Contains( _
   ByVal subscriber As Action(Of TPayload) _
) As Boolean

Parameters

subscriber
The Action used when subscribing to the event.

Return Value

true if there is an that matches; otherwise false.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

CompositePresentationEvent<TPayload> Class
CompositePresentationEvent<TPayload> Members
Overload List
Action
Action