ListBox.IntegerCollection.IList.IndexOf(Object) Method

Definition

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

 virtual int System.Collections.IList.IndexOf(System::Object ^ item) = System::Collections::IList::IndexOf;
int IList.IndexOf (object item);
int IList.IndexOf (object? item);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (item As Object) As Integer Implements IList.IndexOf

Parameters

item
Object

The tab stop to locate in the ListBox.IntegerCollection.

Returns

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

Implements

Remarks

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

Applies to