TaskProvider.TaskCollection.IList.Add Method
Adds the task to the collection.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Function Add ( _
obj As Object _
) As Integer Implements IList.Add
int IList.Add(
Object obj
)
Parameters
- obj
Type: System.Object
The task object.
Return Value
Type: System.Int32
The index at which the task was added.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.