Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
1 out of 12 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.