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
‘선언
Private Sub Insert ( _
index As Integer, _
obj As Object _
) Implements IList.Insert
‘사용 방법
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.
- obj
Type: System.Object
The task to insert.
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.
See Also
Reference
TaskProvider.TaskCollection Class