IComponentChangeService.ComponentAdding Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Event Type
Remarks
This event occurs during load and when the user creates a new component. You can cancel the process of adding a component by throwing an exception here.
Applies to
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.