.NET events are revealed to F# code as instances of the type IDelegateEvent,
which is a subtype of the type [IEvent]. The delegate type parameter and
arguments are determined by the F# type checker based on information stored
for the .NET event.
F# code may also declare .NET events over any .NET delegate type.
For example, DelegateEvent<PaintEventHandler,PaintEventArgs>
can be used for an event whose callbacks are of type PaintEventHandler. The delegate
and argument types must match.
Full Type Signature
type IDelegateEvent<'del,'args> = interface
inherit IPrimitiveDelegateEvent<'del>
inherit IEvent<'args>
end
|