Edit

Bagikan melalui


ListView.ColumnHeaderCollection.IList.IndexOf(Object) Method

Definition

Returns the index, within the collection, of the specified column header.

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

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

Parameters

value
Object

An object that represents the column header to locate in the collection.

Returns

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

Implements

Applies to