Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inserts a task in the collection at the specified index.
Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub Insert ( _
    index As Integer, _
    task As Task _
)
public void Insert(
    int index,
    Task task
)
public:
void Insert(
    int index, 
    Task^ task
)
member Insert : 
        index:int * 
        task:Task -> unit
public function Insert(
    index : int, 
    task : Task
)
Parameters
- index 
 Type: Int32- The index at which to insert the task. 
- task 
 Type: Microsoft.VisualStudio.Shell.Task- The task to insert. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.