Partager via


INavigateToItemProvider2.StartSearch Method

Definition

Indicates that the provider should begin a new search. If the provider is in the middle of a search, it should be terminated as soon as possible as the results of that search will now be ignored. Implementations of this method should move all work to a separate thread and allow this call to return as soon as possible.

public:
 void StartSearch(Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToCallback ^ callback, System::String ^ searchValue, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToFilterParameters ^ filter);
public:
 void StartSearch(Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToCallback ^ callback, Platform::String ^ searchValue, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToFilterParameters ^ filter);
void StartSearch(Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToCallback const & callback, std::wstring const & searchValue, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToFilterParameters const & filter);
public void StartSearch (Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToCallback callback, string searchValue, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToFilterParameters filter);
abstract member StartSearch : Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToCallback * string * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToFilterParameters -> unit
Public Sub StartSearch (callback As INavigateToCallback, searchValue As String, filter As INavigateToFilterParameters)

Parameters

callback
INavigateToCallback

A callback specific to this search.

searchValue
String

The search query string.

filter
INavigateToFilterParameters

A filter specific to this search. The callback should not receive items blocked by the filter.

Applies to