ListViewItem.ListViewSubItemCollection.IList.Contains(Object) メソッド

定義

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

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

パラメーター

subItemitem
Object

コレクション内で検索するサブ項目を表すオブジェクト。

返品

true サブ項目がコレクションに含まれている場合。それ以外の場合は false

実装

適用対象