Chris,
Seeing as an event is implemented in terms of a Delegate, yes you use
InvocationList to get the list of event-handlers.
The trick is getting the delegate for the event. Using a tool such as
ILDASM, you can see that the delegate is the name of the event with Event on
the end.
Public Class Chris
Public Event Changed As EventHandler
Public Sub GetHandlers
Dim list() As System.Delegate
list = me.ChangedEvent.GetInvocationList()
End Sub
End Class
Hope this helps
Jay
"Chris" <ch********@pandora.be> wrote in message
news:2X*********************@phobos.telenet-ops.be...
Hi,
is it possible to know what event-handlers are 'connected' to an event ?
(In the same style as you have access to the InvocationList with
delegates.)
Thnx
Chris