IPeekResultCollection.IndexOf(IPeekResult, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public int IndexOf (Microsoft.VisualStudio.Language.Intellisense.IPeekResult peekResult, int startAt);
abstract member IndexOf : Microsoft.VisualStudio.Language.Intellisense.IPeekResult * int -> int
Public Function IndexOf (peekResult As IPeekResult, startAt As Integer) As Integer
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.