ListBox.ObjectCollection.IList.IndexOf(Object) Method

Definition

Determines the index of a specific item in the IList.

C#
int IList.IndexOf(object? value);

Parameters

value
Object

The object to locate in the IList.

Returns

The index of value if found in the list; otherwise, -1.

Implements

Applies to

Product Versions
Windows Desktop 5, 6, 7, 8, 9