IPeekResultSource::FindResults Method (String^, IPeekResultCollection^, CancellationToken, IFindPeekResultsCallback^)

Visual Studio 2015
 

Populates the collection of IPeekResults for the given relationship.

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

void FindResults(
	String^ relationshipName,
	IPeekResultCollection^ resultCollection,
	CancellationToken cancellationToken,
	IFindPeekResultsCallback^ callback
)

Parameters

relationshipName
Type: System::String^

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

resultCollection
Type: Microsoft.VisualStudio.Language.Intellisense::IPeekResultCollection^

Represents a collection of <see cref="IPeekResult"/>s to be populated.

cancellationToken
Type: System.Threading::CancellationToken

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

callback
Type: Microsoft.VisualStudio.Language.Intellisense::IFindPeekResultsCallback^

The IFindPeekResultsCallback instance used to report progress and failures.

Return to top
Show: