TaskProvider.TaskCollection.IList.IndexOf(Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定任务所在的集合的索引。
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
要查找的任务。
返回
任务所在的集合的索引。