EntryPointCollection.Insert Method (2003 System)

Inserts an EntryPoint into the collection at the specified index.

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

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    value As EntryPoint _
)
'Usage
Dim instance As EntryPointCollection
Dim index As Integer
Dim value As EntryPoint

instance.Insert(index, value)
public void Insert(
    int index,
    EntryPoint value
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

- or -

index is greater than Count.

Remarks

When you insert an item into the collection, the indexes change for subsequent items in the collection.

To add a single EntryPoint to the end of the collection, use the Add method.

Permissions

See Also

Reference

EntryPointCollection Class

EntryPointCollection Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace