TaskProvider.TaskCollection.IList.IndexOf(Object) Method

Definition

Gets the index of the collection at which the specified task exists.

 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

Parameters

obj
Object

The task to find.

Returns

The index of the collection at which the task exists.

Implements

Applies to