TaskProvider.TaskCollection.IList.Contains(Object) 方法

定义

获取指定的任务是否存在于集合中。

 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

参数

obj
Object

要查找的任务。

返回

Boolean

true 如果集合中存在该任务,则为; 否则为 false

实现

适用于