Share via


EventObserver.Dispose Method

Detaches the handler from the event.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As EventObserver

instance.Dispose
public void Dispose ()
public:
virtual void Dispose () sealed
public final void Dispose ()
public final function Dispose ()

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EventObserver Class
EventObserver Members
System.Windows.Interactivity Namespace