GlobalTypeCollection.IList.Contains(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.