This documentation is archived and is not being maintained.

IComponentChangeService.ComponentRemoved Event

Occurs when a component has been removed.

[Visual Basic]
Event ComponentRemoved As ComponentEventHandler
event ComponentEventHandler ComponentRemoved;
__event ComponentEventHandler* ComponentRemoved;

[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 ComponentEventArgs containing data related to this event. The following ComponentEventArgs property provides information specific to this event.

Property Description
Component Gets the component associated with the event.


This event occurs during unload and when a component is deleted by the user. The event occurs before the site has been removed from the component.


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

IComponentChangeService Interface | IComponentChangeService Members | System.ComponentModel.Design Namespace | ComponentRemoving | ComponentEventHandler