ArcGIS Pro 2.6 API Reference Guide
Contains(Func<TPayload,Task>) Method

ArcGIS.Core.Events Namespace > AsyncPresentationEvent<TPayload> Class > Contains Method : Contains(Func<TPayload,Task>) Method
The Action used when subscribing to the event.
Returns true if there is a subscriber matching .
Syntax
public bool Contains( 
   Func<TPayload,Task> subscriber
)
Public Overloads Function Contains( _
   ByVal subscriber As Func(Of TPayload,Task) _
) 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

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