Share via


IPeekResultCollection.IndexOf(IPeekResult, Int32) Method

Definition

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

public:
 int IndexOf(Microsoft::VisualStudio::Language::Intellisense::IPeekResult ^ peekResult, int startAt);

Parameters

peekResult
IPeekResult

The result to search for in the list.

startAt
Int32

The start index for the search.

Returns

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

Applies to