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.
TEventType GetEvent<TEventType>() where TEventType: EventBase
Function GetEvent(Of TEventType As EventBase)() As TEventType
Target Platforms: Windows 11, Windows 10, Windows 8.1