Visual Basic (Declaration) | |
---|---|
Public Event Message As MessagerMessageHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WorkstationMessager Dim handler As MessagerMessageHandler AddHandler instance.Message, handler |
C# | |
---|---|
public event MessagerMessageHandler Message |
Managed Extensions for C++ | |
---|---|
public: __event MessagerMessageHandler* Message |
C++/CLI | |
---|---|
public: event MessagerMessageHandler^ Message |