ListView.ListViewItemCollection.IList.Contains(Object) ListView.ListViewItemCollection.IList.Contains(Object) ListView.ListViewItemCollection.IList.Contains(Object) Method

定义

确定指定项是否在集合中。Determines whether the specified item is in the collection.

 virtual bool System.Collections.IList.Contains(System::Object ^ item) = System::Collections::IList::Contains;
bool IList.Contains (object item);
Function Contains (item As Object) As Boolean Implements IList.Contains

参数

item
Object Object Object

一个对象,表示要在集合中查找的项。An object that represents the item to locate in the collection.

返回

如果指定项位于集合中,则为 true;否则为 falsetrue if the specified item is located in the collection; otherwise, false.

实现

适用于