TaskProvider.TaskCollection.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.
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
.