This post originated from an RSS feed registered with .NET Buzz
by Roy Osherove.
Original Post: Custom events in VB.Net
Feed Title: ISerializable
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/rosherove/Rss.aspx
Feed Description: Roy Osherove's persistent thoughts
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Roy Osherove
Latest Posts From ISerializable
Advertisement
I had a discussion going on with some folks regarding the fact that VB.Net
does not have the equivalent of C# event accessors (the "add" and "remove"
accessors you can declare inside an event declaration).
We thought this wasn't possible until Paul Vick
blogged about the "Custom Event" declaration that will be available with
VB.Net 2.0. That's really good news. Now you can handle various problems such as
non-serializaed
events in a safer manner, or use the
EventHandlerList class to manage many events in your class. Very Nice.
Read: Custom events in VB.Net