ComponentAdded Event

IComponentChangeService.ComponentAdded Event

Occurs when a component has been added.

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

[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 load and when new components are created by the user, after the component has been sited.


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 | ComponentAdding | ComponentEventHandler

© 2015 Microsoft