Freigeben über


TaskProvider.TaskCollection.Insert Method

Definition

Overloads

Insert(Int32, Task)

Inserts a task in the collection at the specified index.

Insert(Int32, TaskListItem)

Insert(Int32, Task)

Inserts a task in the collection at the specified index.

public:
 void Insert(int index, Microsoft::VisualStudio::Shell::Task ^ task);
void Insert(int index, Microsoft::VisualStudio::Shell::Task const & task);
public void Insert (int index, Microsoft.VisualStudio.Shell.Task task);
member this.Insert : int * Microsoft.VisualStudio.Shell.Task -> unit
Public Sub Insert (index As Integer, task As Task)

Parameters

index
Int32

The index at which to insert the task.

task
Task

The task to insert.

Applies to

Insert(Int32, TaskListItem)

public:
 void Insert(int index, Microsoft::VisualStudio::Shell::TaskListItem ^ task);
public void Insert (int index, Microsoft.VisualStudio.Shell.TaskListItem task);
member this.Insert : int * Microsoft.VisualStudio.Shell.TaskListItem -> unit
Public Sub Insert (index As Integer, task As TaskListItem)

Parameters

index
Int32

Applies to