ListView.CheckedIndexCollection.IList.Contains(Object) 方法

定義

檢查與是否已核取與 ListViewItem 對應的索引。

 virtual bool System.Collections.IList.Contains(System::Object ^ checkedIndex) = System::Collections::IList::Contains;
bool IList.Contains (object checkedIndex);
bool IList.Contains (object? checkedIndex);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (checkedIndex As Object) As Boolean Implements IList.Contains

參數

checkedIndex
Object

要在 ListView.CheckedIndexCollection 中尋找的索引。

傳回

如果在 ListView.CheckedIndexCollection 中找到索引,則為 true,否則為 false

實作

適用於