ToolboxItemCollection.IndexOf Method (ToolboxItem)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: