Visual Basic (Declaration) | |
---|---|
Event ViewChanged As EventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IViewChanged Dim handler As EventHandler AddHandler instance.ViewChanged, handler |
C# | |
---|---|
event EventHandler ViewChanged |
Managed Extensions for C++ | |
---|---|
__event EventHandler* ViewChanged |
C++/CLI | |
---|---|
event EventHandler^ ViewChanged |