Freigeben über


GlobalObjectCollection.Insert Method

Inserts a new item into the collection at the given index.

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

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    item As GlobalObject _
)
'Usage
Dim instance As GlobalObjectCollection
Dim index As Integer
Dim item As GlobalObject

instance.Insert(index, item)
public void Insert(
    int index,
    GlobalObject item
)
public:
void Insert(
    int index, 
    GlobalObject^ item
)
member Insert : 
        index:int * 
        item:GlobalObject -> unit 
public function Insert(
    index : int, 
    item : GlobalObject
)

Parameters

  • index
    Type: System.Int32
    The position in the collection where the item should be inserted.

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Members

Microsoft.VisualStudio.Shell.Design Namespace