ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Events Namespace / AsyncPresentationEvent<TPayload> Class / ContainsAny Method
Version

    ContainsAny Method (AsyncPresentationEvent<TPayload>)
    Returns true if there are currently any subscribers.
    Syntax
    protected internal bool ContainsAny()

    Return Value

    true if there are currently any listeners subscribed on this event; otherwise false.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also