This documentation is archived and is not being maintained.

IComponent.Disposed Event

Represents the method that handles the Disposed event of a component.

[Visual Basic]
Event Disposed As EventHandler
event EventHandler Disposed;
__event EventHandler* Disposed;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type EventArgs.


When you create a IComponent 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 event handler delegates, see Events and Delegates.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IComponent Interface | IComponent Members | System.ComponentModel Namespace | EventHandler