Επεξεργασία

Κοινή χρήση μέσω


IComponentChangeService.ComponentRemoving Event

Definition

Occurs when a component is in the process of being removed.

public:
 event System::ComponentModel::Design::ComponentEventHandler ^ ComponentRemoving;
event System.ComponentModel.Design.ComponentEventHandler ComponentRemoving;
member this.ComponentRemoving : System.ComponentModel.Design.ComponentEventHandler 
Event ComponentRemoving As ComponentEventHandler 

Event Type

Remarks

This event occurs during unload and when the user deletes a component. You can cancel the process of removing a component by throwing an exception here.

Applies to

See also