IVstaHostObjectCollection.Insert Method

Inserts the specified host object at the specified location in the collection.

Namespace:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)

Syntax

'Declaration
Sub Insert ( _
    index As Integer, _
    value As IVstaHostObject _
)
'Usage
Dim instance As IVstaHostObjectCollection 
Dim index As Integer 
Dim value As IVstaHostObject

instance.Insert(index, value)
void Insert(
    int index,
    IVstaHostObject value
)
void Insert(
    int index, 
    IVstaHostObject^ value
)
function Insert(
    index : int, 
    value : IVstaHostObject
)

Parameters

  • index
    Type: System.Int32

    The location at which to insert the object.

.NET Framework Security

See Also

Reference

IVstaHostObjectCollection Interface

IVstaHostObjectCollection Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace