語言

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

參數

傳回

若項目 ListBox.IntegerCollection位於 ;;則為零基索引;否則為 -1。

實作

備註

此成員為明確介面成員實作。 它只能在實 ListBox.IntegerCollection 例投射到 IList 介面時使用。

適用於