PropertyDescriptorCollection.IList.IndexOf(Object) PropertyDescriptorCollection.IList.IndexOf(Object) PropertyDescriptorCollection.IList.IndexOf(Object) Method

定義

判斷集合中指定項目的索引。Determines the index of a specified item in the collection.

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

參數

value
Object Object Object

要在集合中尋找的項目。The item to locate in the collection.

傳回

如果在清單中找到則為 value 的索引,否則為 -1。The index of value if found in the list, otherwise -1.

實作

適用於