Share via


ToolboxService.IToolboxService.GetSelectedToolboxItem Méthode

Définition

Obtient l'élément de boîte à outils actuellement sélectionné.

Surcharges

IToolboxService.GetSelectedToolboxItem()

Pour obtenir une description de ce membre, consultez la méthode GetSelectedToolboxItem.

IToolboxService.GetSelectedToolboxItem(IDesignerHost)

Pour obtenir une description de ce membre, consultez la méthode GetSelectedToolboxItem(IDesignerHost).

IToolboxService.GetSelectedToolboxItem()

Pour obtenir une description de ce membre, consultez la méthode GetSelectedToolboxItem.

 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

Le ToolboxItem 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 d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de ToolboxService est castée en interface IToolboxService.

S’applique à

IToolboxService.GetSelectedToolboxItem(IDesignerHost)

Pour obtenir une description de ce membre, consultez la méthode GetSelectedToolboxItem(IDesignerHost).

 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

IDesignerHost auquel l'outil sélectionné doit être associé pour être retourné.

Retours

Le ToolboxItem 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 d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de ToolboxService est castée en interface IToolboxService.

S’applique à