Partager via


ITextSearchNavigatorFactoryService.CreateSearchNavigator Method

Creates a new instance of ITextSearchNavigator that searches the provided text buffer.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Déclaration
Function CreateSearchNavigator ( _
    buffer As ITextBuffer _
) As ITextSearchNavigator
ITextSearchNavigator CreateSearchNavigator(
    ITextBuffer buffer
)
ITextSearchNavigator^ CreateSearchNavigator(
    ITextBuffer^ buffer
)
abstract CreateSearchNavigator : 
        buffer:ITextBuffer -> ITextSearchNavigator 
function CreateSearchNavigator(
    buffer : ITextBuffer
) : ITextSearchNavigator

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Operations.ITextSearchNavigator
Returns an ITextSearchNavigator that searches the provided buffer..

.NET Framework Security

See Also

Reference

ITextSearchNavigatorFactoryService Interface

Microsoft.VisualStudio.Text.Operations Namespace