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.StringThe identifier whose index will be retrieved.
Return Value
Type: System.Int32
.NET Framework Security
- 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.
See Also
Reference
IVstaIdentifierCollection Interface
IVstaIdentifierCollection Members
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace