Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio .NET
Reference
Keywords
P-Z Keywords
 WithEvents
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
Visual Basic Language Reference
WithEvents

The WithEvents keyword indicates that a declared object variable refers to a class instance that can raise events.

The WithEvents keyword is used in this context:

Dim Statement

See Also

Visual Basic Language Keywords | Events and Delegates | WithEvents and the Handles Clause

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker