IVstaIdentifierCollection.IndexOf Method

Retrieves the index of the specified identifier.

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

Syntax

'Declaration
Function IndexOf ( _
    identifier As String _
) As Integer
'Usage
Dim instance As IVstaIdentifierCollection 
Dim identifier As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(identifier)
int IndexOf(
    string identifier
)
int IndexOf(
    String^ identifier
)
function IndexOf(
    identifier : String
) : int

Parameters

  • identifier
    Type: System.String

    The identifier whose index will be retrieved.

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVstaIdentifierCollection Interface

IVstaIdentifierCollection Members

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