Raise Event Statement

Causes an event to occur.

Syntax

Raise Event event_name [ argument_list ]

Parts

event_name
The name of an event variable.
argument_list
Zero or more expressions with a comma between each, all optionally between parentheses (“( )”).

Instructions

TODO

Examples

Event MyEventType(a As Int, b As Int)
Var MyEvent As MyEventType = Sub MyEventHandler
Raise Event MyEvent(1, 2)
' ...
Sub MyEventHandler Handles MyEventType
    ' ...
End Sub

See also