GetEventByRef

Purpose

This function returns an event.  The event is of type EventClass and can be used to retrieve and set properties of an event.  

An EventClass has a number of properties that holds information about an event.  You can access these properties to get and set this information.  The function NewEventGetRef can be used to create a new empty event.  The properties of the event are listed below.

Parameters

Parameter: event reference ID
Type: long (.NET Integer)
Description: This is the event reference ID of the desired event.

Returns

Return value: EventClass
Type: object

EventClass Object

See EventClass