共用方式為


GlobalObjectCollection.IList.Insert Method

Adds an item to 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
void IList.Insert(
    int index,
    Object item
)

Parameters

  • index
    Type: System.Int32
    The position at which the item should be inserted.
  • item
    Type: System.Object
    The object to be inserted in the collection.

Implements

IList.Insert(Int32, Object)

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace