IComponentChangeService.ComponentAdding IComponentChangeService.ComponentAdding IComponentChangeService.ComponentAdding IComponentChangeService.ComponentAdding Event

Definición

Se produce cuando un componente está en el proceso de agregarse.Occurs when a component is in the process of being added.

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

Comentarios

Este evento se produce durante la carga y cuando el usuario crea un componente nuevo.This event occurs during load and when the user creates a new component. Puede cancelar el proceso de agregar un componente iniciando una excepción aquí.You can cancel the process of adding a component by throwing an exception here.

Se aplica a

Consulte también: