TaskProvider.TaskCollection.IList.IndexOf(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 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.