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

'宣言
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.Int32

    The position at which the item should be inserted.

Permissions

See Also

Reference

GlobalTypeCollection Class

GlobalTypeCollection Members

Microsoft.VisualStudio.Shell.Design Namespace