ArcGIS Pro 2.9 API Reference Guide
ContainsAny Method (CompositePresentationEvent<TPayload>)

ArcGIS.Core.Events Namespace > CompositePresentationEvent<TPayload> Class : ContainsAny Method
Returns true if there are currently any subscribers.
Syntax
protected internal bool ContainsAny()
Protected Friend Function ContainsAny() As Boolean

Return Value

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

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

CompositePresentationEvent<TPayload> Class
CompositePresentationEvent<TPayload> Members