Breyta

Deila með


IToolboxService.GetToolboxItems Method

Definition

Gets a collection of toolbox items from the toolbox.

Overloads

GetToolboxItems(String)

Gets a collection of toolbox items from the toolbox that match the specified category.

GetToolboxItems(String, IDesignerHost)

Gets the collection of toolbox items that are associated with the specified designer host and category from the toolbox.

GetToolboxItems()

Gets the entire collection of toolbox items from the toolbox.

GetToolboxItems(IDesignerHost)

Gets the collection of toolbox items that are associated with the specified designer host from the toolbox.

GetToolboxItems(String)

Source:
IToolboxService.cs
Source:
IToolboxService.cs
Source:
IToolboxService.cs

Gets a collection of toolbox items from the toolbox that match the specified category.

public:
 System::Drawing::Design::ToolboxItemCollection ^ GetToolboxItems(System::String ^ category);
public System.Drawing.Design.ToolboxItemCollection GetToolboxItems (string category);
abstract member GetToolboxItems : string -> System.Drawing.Design.ToolboxItemCollection
Public Function GetToolboxItems (category As String) As ToolboxItemCollection

Parameters

category
String

The toolbox item category to retrieve all the toolbox items from.

Returns

A ToolboxItemCollection that contains the current toolbox items that are associated with the specified category.

Applies to

GetToolboxItems(String, IDesignerHost)

Source:
IToolboxService.cs
Source:
IToolboxService.cs
Source:
IToolboxService.cs

Gets the collection of toolbox items that are associated with the specified designer host and category from the toolbox.

public:
 System::Drawing::Design::ToolboxItemCollection ^ GetToolboxItems(System::String ^ category, System::ComponentModel::Design::IDesignerHost ^ host);
public System.Drawing.Design.ToolboxItemCollection GetToolboxItems (string category, System.ComponentModel.Design.IDesignerHost host);
abstract member GetToolboxItems : string * System.ComponentModel.Design.IDesignerHost -> System.Drawing.Design.ToolboxItemCollection
Public Function GetToolboxItems (category As String, host As IDesignerHost) As ToolboxItemCollection

Parameters

category
String

The toolbox item category to retrieve the toolbox items from.

host
IDesignerHost

The IDesignerHost that is associated with the toolbox items to retrieve.

Returns

A ToolboxItemCollection that contains the current toolbox items that are associated with the specified category and designer host.

Applies to

GetToolboxItems()

Source:
IToolboxService.cs
Source:
IToolboxService.cs
Source:
IToolboxService.cs

Gets the entire collection of toolbox items from the toolbox.

public:
 System::Drawing::Design::ToolboxItemCollection ^ GetToolboxItems();
public System.Drawing.Design.ToolboxItemCollection GetToolboxItems ();
abstract member GetToolboxItems : unit -> System.Drawing.Design.ToolboxItemCollection
Public Function GetToolboxItems () As ToolboxItemCollection

Returns

A ToolboxItemCollection that contains the current toolbox items.

Applies to

GetToolboxItems(IDesignerHost)

Source:
IToolboxService.cs
Source:
IToolboxService.cs
Source:
IToolboxService.cs

Gets the collection of toolbox items that are associated with the specified designer host from the toolbox.

public:
 System::Drawing::Design::ToolboxItemCollection ^ GetToolboxItems(System::ComponentModel::Design::IDesignerHost ^ host);
public System.Drawing.Design.ToolboxItemCollection GetToolboxItems (System.ComponentModel.Design.IDesignerHost host);
abstract member GetToolboxItems : System.ComponentModel.Design.IDesignerHost -> System.Drawing.Design.ToolboxItemCollection
Public Function GetToolboxItems (host As IDesignerHost) As ToolboxItemCollection

Parameters

host
IDesignerHost

The IDesignerHost that is associated with the toolbox items to retrieve.

Returns

A ToolboxItemCollection that contains the current toolbox items that are associated with the specified designer host.

Applies to