ComponentTray.CanCreateComponentFromTool(ToolboxItem) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur indiquant si l’outil spécifié peut être utilisé pour créer un composant.
protected:
virtual bool CanCreateComponentFromTool(System::Drawing::Design::ToolboxItem ^ tool);
protected virtual bool CanCreateComponentFromTool(System.Drawing.Design.ToolboxItem tool);
abstract member CanCreateComponentFromTool : System.Drawing.Design.ToolboxItem -> bool
override this.CanCreateComponentFromTool : System.Drawing.Design.ToolboxItem -> bool
Protected Overridable Function CanCreateComponentFromTool (tool As ToolboxItem) As Boolean
Paramètres
- tool
- ToolboxItem
ToolboxItem À tester.
Retours
true si l’outil spécifié peut être utilisé pour créer un composant ; sinon, false.