ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Events Namespace / AsyncPresentationEvent<TPayload> Class / Contains Method / Contains(Func<TPayload,Task>) Method
The Action used when subscribing to the event.

In This Topic
    Contains(Func<TPayload,Task>) Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also