ArcGIS Pro 2.6 API Reference Guide
GetEvent<TEventType> Method

ArcGIS.Core.Events Namespace > IEventAggregator Interface : GetEvent<TEventType> Method
The type of event to get.
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 10, Windows 8.1, Windows 7

See Also

Reference

IEventAggregator Interface
IEventAggregator Members