Freigeben über


TaskProvider.TaskCollection.IList.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

'Declaration
Private Sub Insert ( _
    index As Integer, _
    obj As Object _
) Implements IList.Insert
'Usage
Dim instance As TaskProvider..::..TaskCollection
Dim index As Integer
Dim obj As Object

CType(instance, IList).Insert(index, _
    obj)
void IList.Insert(
    int index,
    Object obj
)
private:
virtual void Insert(
    int index, 
    Object^ obj
) sealed = IList::Insert
private abstract Insert : 
        index:int * 
        obj:Object -> unit 
private override Insert : 
        index:int * 
        obj:Object -> unit 
JScript does not support explicit interface implementations.

Parameters

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

Implements

IList.Insert(Int32, Object)

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

TaskProvider.TaskCollection Members

Microsoft.VisualStudio.Shell Namespace