GlobalTypeCollection.Insert Method
Inserts an item into the underlying list at the specified position.
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 GlobalType _
)
public void Insert(
int index,
GlobalType item
)
public:
void Insert(
int index,
GlobalType^ item
)
member Insert :
index:int *
item:GlobalType -> unit
public function Insert(
index : int,
item : GlobalType
)
Parameters
index
Type: System.Int32The position at which the item should be inserted.
item
Type: Microsoft.VisualStudio.Shell.Design.GlobalTypeThe object to be inserted into the collection.
.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.