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

GetEvent<TEventType> Method
Gets an instance of an event type.
Syntax
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, Windows 10

ArcGIS Pro version: 3 or higher.
See Also