TaskProvider.TaskCollection.Insert 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.
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
- task
- TaskListItem