IPeekResultCollection::IndexOf Method (IPeekResult^, Int32)

Visual Studio 2015
 

Finds the index of the result or returns -1 if the result was not found.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

int IndexOf(
	IPeekResult^ peekResult,
	int startAt
)

Parameters

peekResult
Type: Microsoft.VisualStudio.Language.Intellisense::IPeekResult^

The result to search for in the list.

startAt
Type: System::Int32

The start index for the search.

Return Value

Type: System::Int32

The index of the result in the list, or -1 if the result was not found.

Return to top
Show: