Compartir a través de


TaskProvider.TaskCollection.IList.Add(Object) Method

Definition

Adds the task to the collection.

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

Parameters

obj
Object

The task object.

Returns

The index at which the task was added.

Implements

Applies to