Partilhar via


INavigateToItemProvider Interface

Definition

Finds symbols that match a search string, and passes them back to a callback. An instance of this type may be asked to do multiple searches during its lifetime. When it will no longer be used, it will be disposed.

public interface class INavigateToItemProvider : IDisposable
public interface INavigateToItemProvider : IDisposable
type INavigateToItemProvider = interface
    interface IDisposable
Public Interface INavigateToItemProvider
Implements IDisposable
Derived
Implements

Remarks

An instance of this type can perform multiple searches during its lifetime. When it will no longer be used, it is disposed.

Methods

StartSearch(INavigateToCallback, String)

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.

StopSearch()

Indicates that the provider should stop any current search.

Applies to