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
- entryPoint
Type: Microsoft.VisualStudio.Tools.Applications.Runtime.EntryPoint
The EntryPoint to locate in the collection.
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
- 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.