ArcGIS Pro 2.6 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 10, Windows 8.1, Windows 7

See Also

Reference

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