Partager via


ITextSearchNavigatorFactoryService.CreateSearchNavigator(ITextBuffer) Method

Definition

Creates an ITextSearchNavigator3 that searches the provided buffer.

public:
 Microsoft::VisualStudio::Text::Operations::ITextSearchNavigator ^ CreateSearchNavigator(Microsoft::VisualStudio::Text::ITextBuffer ^ buffer);
public:
 Microsoft::VisualStudio::Text::Operations::ITextSearchNavigator3 ^ CreateSearchNavigator(Microsoft::VisualStudio::Text::ITextBuffer ^ buffer);
public:
 Microsoft::VisualStudio::Text::Operations::ITextSearchNavigator ^ CreateSearchNavigator(Microsoft::VisualStudio::Text::ITextBuffer ^ buffer);
Microsoft::VisualStudio::Text::Operations::ITextSearchNavigator CreateSearchNavigator(Microsoft::VisualStudio::Text::ITextBuffer const & buffer);
public Microsoft.VisualStudio.Text.Operations.ITextSearchNavigator CreateSearchNavigator (Microsoft.VisualStudio.Text.ITextBuffer buffer);
public Microsoft.VisualStudio.Text.Operations.ITextSearchNavigator3 CreateSearchNavigator (Microsoft.VisualStudio.Text.ITextBuffer buffer);
abstract member CreateSearchNavigator : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Text.Operations.ITextSearchNavigator
abstract member CreateSearchNavigator : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Text.Operations.ITextSearchNavigator3
Public Function CreateSearchNavigator (buffer As ITextBuffer) As ITextSearchNavigator
Public Function CreateSearchNavigator (buffer As ITextBuffer) As ITextSearchNavigator3

Parameters

buffer
ITextBuffer

The ITextBuffer to search.

Returns

An ITextSearchNavigator3 that searches the provided ITextBuffer.

Applies to