VB.NET 1.1 Tutorial - The WithEvents Keyword


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

Friend WithEvents Button1 As Button

References

For more information on the WithEvents Keyword, visit MSDN at microsoft here.

What Next?

Return to the Tutorial Contents.