語言

PropertyDescriptorCollection.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。

實作

適用於