ToolboxItemCollection.IndexOf(ToolboxItem) Method

Definition

Gets the index of the specified ToolboxItem, if it exists in the collection.

public:
 int IndexOf(System::Drawing::Design::ToolboxItem ^ value);
public int IndexOf (System.Drawing.Design.ToolboxItem value);
member this.IndexOf : System.Drawing.Design.ToolboxItem -> int
Public Function IndexOf (value As ToolboxItem) As Integer

Parameters

value
ToolboxItem

A ToolboxItem to get the index of in the collection.

Returns

The index of the specified ToolboxItem.

Applies to