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
- buffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The buffer to search.
Return Value
Type: Microsoft.VisualStudio.Text.Operations.ITextSearchNavigator
Returns an ITextSearchNavigator that searches the provided buffer..
.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.