GlobalTypeCollection.IList.Insert Method
Inserts an object in the collection at the specified position.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
声明
Private Sub Insert ( _
index As Integer, _
item As Object _
) Implements IList.Insert
用法
Dim instance As GlobalTypeCollection
Dim index As Integer
Dim item As Object
CType(instance, IList).Insert(index, _
item)
void IList.Insert(
int index,
Object item
)
private:
virtual void Insert(
int index,
Object^ item
) sealed = IList::Insert
private abstract Insert :
index:int *
item:Object -> unit
private override Insert :
index:int *
item:Object -> unit
JScript does not support explicit interface implementations.
Parameters
- index
Type: System.Int32
The position at which the item should be inserted.
- item
Type: System.Object
The item to be inserted.
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.