ListBox.IntegerCollection.IList.IndexOf Method (Object)


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the index of the specified tab stop in the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

int IList.IndexOf(
	object item


Type: System.Object

The tab stop to locate in the ListBox.IntegerCollection.

Return Value

Type: System.Int32

The zero-based index of item if it was found in the ListBox.IntegerCollection; otherwise, -1.

This member is an explicit interface member implementation. It can be used only when the ListBox.IntegerCollection instance is cast to an IList interface.

.NET Framework
Available since 2.0
Return to top