ArcGIS Pro 3.7 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
    Function GetEvent(Of TEventType As EventBase)() As TEventType
    TEventType GetEvent<TEventType>()
    where TEventType: EventBase

    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also