Share via


IPeekResultSource.FindResults Method

Definition

Populates the collection of IPeekResults for the given relationship.

public:
 void FindResults(System::String ^ relationshipName, Microsoft::VisualStudio::Language::Intellisense::IPeekResultCollection ^ resultCollection, System::Threading::CancellationToken cancellationToken, Microsoft::VisualStudio::Language::Intellisense::IFindPeekResultsCallback ^ callback);
public void FindResults (string relationshipName, Microsoft.VisualStudio.Language.Intellisense.IPeekResultCollection resultCollection, System.Threading.CancellationToken cancellationToken, Microsoft.VisualStudio.Language.Intellisense.IFindPeekResultsCallback callback);
abstract member FindResults : string * Microsoft.VisualStudio.Language.Intellisense.IPeekResultCollection * System.Threading.CancellationToken * Microsoft.VisualStudio.Language.Intellisense.IFindPeekResultsCallback -> unit
Public Sub FindResults (relationshipName As String, resultCollection As IPeekResultCollection, cancellationToken As CancellationToken, callback As IFindPeekResultsCallback)

Parameters

relationshipName
String

The case insenitive name of the relationship to be queried for results.

resultCollection
IPeekResultCollection

Represents a collection of IPeekResults to be populated.

cancellationToken
CancellationToken

The cancellation token used by the caller to cancel the operation.

callback
IFindPeekResultsCallback

The IFindPeekResultsCallback instance used to report progress and failures.

Applies to