Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Delegates in Visual Basic

A delegate is a form of object-oriented function pointer that allows a function to be invoked indirectly by way of a reference to the function. Delegates can be used to hook up event handlers and pass a procedure from one procedure to another.

Delegates and the AddressOf Operator

Provides an introduction to delegates and how they are used.

How to: Invoke a Delegate Method

Provides an example that shows how to associate a method with a delegate and then invoke that method through the delegate.

How to: Pass Procedures to Another Procedure in Visual Basic

Demonstrates how to use delegates to pass one procedure to another procedure.

Events in Visual Basic

Provides an overview of events in Visual Basic.

Handling and Raising Events

Provides an overview of the event model in the .NET Framework.

Creating Event Handlers in Windows Forms

Describes how to work with events associated with Windows Forms objects.

Community Additions

© 2015 Microsoft