Compartir a través de


TaskProvider.TaskCollection.IList.Insert Method

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
Private Sub Insert ( _
    index As Integer, _
    obj As Object _
) Implements IList.Insert
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: Int32

    The index at which to insert the task.

  • obj
    Type: Object

    The task to insert.

Implements

IList.Insert(Int32, Object)

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

Microsoft.VisualStudio.Shell Namespace