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
'Declaration
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
textView
Type: Microsoft.VisualStudio.Text.Editor.ITextViewThe ITextView over which the incremental search is to be performed.
Return Value
Type: Microsoft.VisualStudio.Text.IncrementalSearch.IIncrementalSearch
An IIncrementalSearch associated with the ITextView.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.