ListBox.IntegerCollection.IList.IndexOf(Object) Метод
Определение
Возвращает индекс заданной позиции табуляции в коллекции.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);
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
Параметры
- item
- Object
Позиция табуляции, которую следует найти в коллекции ListBox.IntegerCollection.The tab stop to locate in the ListBox.IntegerCollection.
Возвращаемое значение
Начинающийся с нуля индекс найденного элемента в коллекции ListBox.IntegerCollection; в противном случае — -1.The zero-based index of item if it was found in the ListBox.IntegerCollection; otherwise, -1.
Реализации
Комментарии
Этот член представляет собой явную реализацию члена интерфейса.This member is an explicit interface member implementation. Он может использоваться, только если экземпляр ListBox.IntegerCollection приведен к типу интерфейса IList.It can be used only when the ListBox.IntegerCollection instance is cast to an IList interface.