EntryPointCollection.IndexOf Method (2003 System)

Returns the index of the specified EntryPoint in the collection.

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

Syntax

'Declaration
Public Function IndexOf ( _
    entryPoint As EntryPoint _
) As Integer
'Usage
Dim instance As EntryPointCollection
Dim entryPoint As EntryPoint
Dim returnValue As Integer

returnValue = instance.IndexOf(entryPoint)
public int IndexOf(
    EntryPoint entryPoint
)

Parameters

Return Value

Type: System.Int32
The zero-based index of the first occurrence of entryPoint in the collection; otherwise, -1 if entryPoint is not in the collection.

Permissions

See Also

Reference

EntryPointCollection Class

EntryPointCollection Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace