Partilhar via


IIncrementalSearchFactoryService Interface

Used to get or create an incremental search service for a given ITextView. There will always be a maximum of one IIncrementalSearch for a given ITextView.

Namespace:  Microsoft.VisualStudio.Text.IncrementalSearch
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaração
Public Interface IIncrementalSearchFactoryService
public interface IIncrementalSearchFactoryService
public interface class IIncrementalSearchFactoryService
type IIncrementalSearchFactoryService =  interface end
public interface IIncrementalSearchFactoryService

The IIncrementalSearchFactoryService type exposes the following members.

Methods

  Name Description
Public method GetIncrementalSearch Gets an IIncrementalSearch for the specified ITextView. If there is no IIncrementalSearch for the view, one will be created.

Top

Remarks

This is a MEF component part, and should be imported as follows:

[Import] IIncrementalSearchFactoryService factory = null;

See Also

Reference

Microsoft.VisualStudio.Text.IncrementalSearch Namespace