The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

type IIncrementalSearchFactoryService =  interface end

The IIncrementalSearchFactoryService type exposes the following members.

Public methodGetIncrementalSearchGets an IIncrementalSearch for the specified ITextView. If there is no IIncrementalSearch for the view, one will be created.

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

[Import] IIncrementalSearchFactoryService factory = null;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft