GlobalObjectCollection.IList.Contains(Object) Method

Definition

Determines whether an object 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

An item to find.

Returns

true if the object is in the collection, otherwise false.

Implements

Applies to