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
'宣言
Public Sub Insert ( _
index As Integer, _
item As GlobalType _
)
'使用
Dim instance As GlobalTypeCollection
Dim index As Integer
Dim item As GlobalType
instance.Insert(index, item)
public void Insert(
int index,
GlobalType item
)
public:
void Insert(
int index,
GlobalType^ item
)
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.
Permissions
- 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.