Compartir a través de


TaskProvider.TaskCollection.IList.Add Method

Adds the task to the collection.

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

Syntax

'Declaration
Private Function Add ( _
    obj As Object _
) As Integer Implements IList.Add
int IList.Add(
    Object obj
)
private:
virtual int Add(
    Object^ obj
) sealed = IList::Add
private abstract Add : 
        obj:Object -> int  
private override Add : 
        obj:Object -> int
JScript does not support explicit interface implementations.

Parameters

  • obj
    Type: Object

    The task object.

Return Value

Type: Int32
The index at which the task was added.

Implements

IList.Add(Object)

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

Microsoft.VisualStudio.Shell Namespace