GlobalTypeCollection.IList.Contains(Object) Method

Definition

Determines whether the specified item is in the collection.

 virtual bool System.Collections.IList.Contains(System::Object ^ item) = System::Collections::IList::Contains;
 virtual bool System.Collections.IList.Contains(Platform::Object ^ item) = System::Collections::IList::Contains;
bool System.Collections.IList.Contains(winrt::Windows::Foundation::IInspectable const & item);
bool IList.Contains (object item);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (item As Object) As Boolean Implements IList.Contains

Parameters

item
Object

The item to find.

Returns

true if the object can be found in the collection, otherwise false.

Implements

Applies to