ListView.SelectedIndexCollection.IList.Contains(Object) メソッド

定義

指定した項目がコレクション内にあるかどうかを判断します。

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

パラメーター

selectedIndex
Object

コレクション内で検索するインデックス。

返品

true ListView.ListViewItemCollectionListViewから指定したインデックスがコレクション内の項目である場合は、それ以外の場合はfalse

実装

適用対象