共用方式為


TaskProvider.TaskCollection.Insert Method

Inserts a task in the collection at the specified index.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Sub Insert ( _
    index As Integer, _
    task As Task _
)
public void Insert(
    int index,
    Task task
)

Parameters

  • index
    Type: System.Int32
    The index at which to insert the task.

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

Microsoft.VisualStudio.Shell Namespace