ToolboxService.IToolboxService.GetSelectedToolboxItem 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 l’élément de boîte à outils actuellement sélectionné.
Surcharges
| Nom | Description |
|---|---|
| IToolboxService.GetSelectedToolboxItem() |
Pour obtenir une description de ce membre, consultez la GetSelectedToolboxItem méthode. |
| IToolboxService.GetSelectedToolboxItem(IDesignerHost) |
Pour obtenir une description de ce membre, consultez la GetSelectedToolboxItem(IDesignerHost) méthode. |
IToolboxService.GetSelectedToolboxItem()
Pour obtenir une description de ce membre, consultez la GetSelectedToolboxItem méthode.
virtual System::Drawing::Design::ToolboxItem ^ System.Drawing.Design.IToolboxService.GetSelectedToolboxItem() = System::Drawing::Design::IToolboxService::GetSelectedToolboxItem;
System.Drawing.Design.ToolboxItem IToolboxService.GetSelectedToolboxItem();
abstract member System.Drawing.Design.IToolboxService.GetSelectedToolboxItem : unit -> System.Drawing.Design.ToolboxItem
override this.System.Drawing.Design.IToolboxService.GetSelectedToolboxItem : unit -> System.Drawing.Design.ToolboxItem
Function GetSelectedToolboxItem () As ToolboxItem Implements IToolboxService.GetSelectedToolboxItem
Retours
Qui ToolboxItem est actuellement sélectionné ou null si aucun élément de boîte à outils n’est actuellement sélectionné.
Implémente
Remarques
Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance ToolboxService est convertie en IToolboxService interface.
S’applique à
IToolboxService.GetSelectedToolboxItem(IDesignerHost)
Pour obtenir une description de ce membre, consultez la GetSelectedToolboxItem(IDesignerHost) méthode.
virtual System::Drawing::Design::ToolboxItem ^ System.Drawing.Design.IToolboxService.GetSelectedToolboxItem(System::ComponentModel::Design::IDesignerHost ^ host) = System::Drawing::Design::IToolboxService::GetSelectedToolboxItem;
System.Drawing.Design.ToolboxItem IToolboxService.GetSelectedToolboxItem(System.ComponentModel.Design.IDesignerHost host);
abstract member System.Drawing.Design.IToolboxService.GetSelectedToolboxItem : System.ComponentModel.Design.IDesignerHost -> System.Drawing.Design.ToolboxItem
override this.System.Drawing.Design.IToolboxService.GetSelectedToolboxItem : System.ComponentModel.Design.IDesignerHost -> System.Drawing.Design.ToolboxItem
Function GetSelectedToolboxItem (host As IDesignerHost) As ToolboxItem Implements IToolboxService.GetSelectedToolboxItem
Paramètres
- host
- IDesignerHost
Que IDesignerHost l’outil sélectionné doit être associé pour qu’il soit retourné.
Retours
Qui ToolboxItem est actuellement sélectionné ou null si aucun élément de boîte à outils n’est actuellement sélectionné.
Implémente
Remarques
Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance ToolboxService est convertie en IToolboxService interface.