语言

ListBox.IntegerCollection.IList.IndexOf(Object) 方法

定义

返回集合中指定制表位的索引。

 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

参数

item
Object

在 . 中查找的 ListBox.IntegerCollection制表位。

返回

如果项在 <a0/> 中找到,则为从零开始的索引;否则为 -1。

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为ListBox.IntegerCollection接口时IList,才能使用它。

适用于