次の方法で共有


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);
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.

Applies to