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