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

定义

获取指定任务所在的集合的索引。

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

参数

obj
Object

要查找的任务。

返回

Int32

任务所在的集合的索引。

实现

适用于