ListView.ColumnHeaderCollection.IList.IndexOf(Object) Метод
Определение
Возвращает индекс из коллекции для заданного заголовка столбца.Returns the index, within the collection, of the specified column header.
Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.
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
Параметры
- value
- Object
Объект, представляющий заголовок столбца для поиска в коллекции.An object that represents the column header to locate in the collection.
Возвращаемое значение
Индекс value
, если он найден в списке; в противном случае — значение -1.The index of value
if found in the list; otherwise, -1.