Partager via


IIncrementalSearchFactoryService.GetIncrementalSearch Method

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

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

Syntax

'Déclaration
Function GetIncrementalSearch ( _
    textView As ITextView _
) As IIncrementalSearch
IIncrementalSearch GetIncrementalSearch(
    ITextView textView
)
IIncrementalSearch^ GetIncrementalSearch(
    ITextView^ textView
)
abstract GetIncrementalSearch : 
        textView:ITextView -> IIncrementalSearch 
function GetIncrementalSearch(
    textView : ITextView
) : IIncrementalSearch

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.IncrementalSearch.IIncrementalSearch
An IIncrementalSearch associated with the ITextView.

.NET Framework Security

See Also

Reference

IIncrementalSearchFactoryService Interface

Microsoft.VisualStudio.Text.IncrementalSearch Namespace