IComponentChangeService.ComponentRemoving Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

event ComponentEventHandler ComponentRemoving

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.

.NET Framework
Available since 1.1
Return to top
Show: