SynchronizedCollection<T>.IList.IndexOf(Object) 方法

定義

判斷集合中項目之以零起始的索引。

 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

正在判斷其索引之集合中的項目。

傳回

如果可以在集合中找到,則為 value 的索引,否則為 -1。

實作

適用於