SynchronizedReadOnlyCollection<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 的以零起始索引。

實作

適用於