Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 _
)
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: Int32- The position in the collection where the item should be inserted. 
- item 
 Type: Microsoft.VisualStudio.Shell.Design.GlobalObject- The item to be inserted. 
.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.