ToolboxItemCollection::IndexOf Method (ToolboxItem^)

 

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

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

public:
int IndexOf(
	ToolboxItem^ value
)

Parameters

value
Type: System.Drawing.Design::ToolboxItem^

A ToolboxItem to get the index of in the collection.

Return Value

Type: System::Int32

The index of the specified ToolboxItem.

.NET Framework
Available since 1.1
Return to top
Show: