Occurs when the component is disposed by a call to the Dispose method.
<BrowsableAttribute(False)> _ Public Event Disposed As EventHandler
Dim instance As Component Dim handler As EventHandler AddHandler instance.Disposed, handler
[BrowsableAttribute(false)] public event EventHandler Disposed
[BrowsableAttribute(false)] public: virtual event EventHandler^ Disposed { void add (EventHandler^ value); void remove (EventHandler^ value); }
JScript does not support events.
When you create a Disposed delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about the event handler delegates, see Events and Delegates.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Zune