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

定义

将任务添加到集合中。

 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

参数

obj
Object

Task 对象。

返回

Int32

添加任务的位置的索引。

实现

适用于