ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Events Namespace / CompositePresentationEvent<TPayload> Class / Contains Method / Contains(Action<TPayload>) Method
The Action used when subscribing to the event.

Contains(Action<TPayload>) Method
Returns true if there is a subscriber matching .
Syntax
protected internal bool Contains( 
   Action<TPayload> subscriber
)

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

ArcGIS Pro version: 2.0 or higher.
See Also