Compartir a través de


TaskProvider.TaskCollection.IList.Contains(Object) Method

Definition

Gets whether or not the specified task exists in the collection.

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

Parameters

obj
Object

The task to find.

Returns

true if the task exists in the collection, otherwise false.

Implements

Applies to