ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Events Namespace / IEventAggregator Interface / GetEvent<TEventType> Method
The type of event to get.

In This Topic
    GetEvent<TEventType> Method
    In This Topic
    Gets an instance of an event type.
    Syntax
    TEventType GetEvent<TEventType>()
    where TEventType: EventBase
    Function GetEvent(Of TEventType As EventBase)() As TEventType

    Type Parameters

    TEventType
    The type of event to get.

    Return Value

    An instance of an event object of type TEventType.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also