다음을 통해 공유


TaskProvider.TaskCollection.Insert Method

Inserts a task in the collection at the specified index.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public Sub Insert ( _
    index As Integer, _
    task As Task _
)
‘사용 방법
Dim instance As TaskProvider..::..TaskCollection
Dim index As Integer
Dim task As Task

instance.Insert(index, 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: System.Int32
    The index at which to insert the task.

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

TaskProvider.TaskCollection Members

Microsoft.VisualStudio.Shell Namespace