Share via


Events in Visual BasicĀ 

An event is a message sent by an object announcing that something has happened. Events are implemented using delegates, a form of object-oriented function pointer that allows a function to be invoked indirectly by way of a reference to the function.

In This Section

  • AddHandler and RemoveHandler
    Demonstrates how to use the AddHandler and RemoveHandler statements to dynamically associate an event with an event handler.