CheckedListBox.CheckedIndexCollection.IList.IndexOf(Object) 方法

定義

如需這個成員的說明,請參閱 IndexOf(Object)For a description of this member, see IndexOf(Object).

 virtual int System.Collections.IList.IndexOf(System::Object ^ index) = System::Collections::IList::IndexOf;
int IList.IndexOf (object index);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (index As Object) As Integer Implements IList.IndexOf

參數

index
Object

要放置在這個集合中的 CheckedListBox.ObjectCollection 以零起始的索引。The zero-based index from the CheckedListBox.ObjectCollection to locate in this collection.

傳回

這個成員是明確的介面成員實作。This member is an explicit interface member implementation. 只有在 CheckedListBox.CheckedIndexCollection 執行個體轉換成 IList 介面時,才能使用這個成員。It can be used only when the CheckedListBox.CheckedIndexCollection instance is cast to an IList interface.

實作

適用於