ITextStructureNavigatorProvider.CreateTextStructureNavigator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ITextStructureNavigator for a given ITextBuffer.
public:
Microsoft::VisualStudio::Text::Operations::ITextStructureNavigator ^ CreateTextStructureNavigator(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public:
Microsoft::VisualStudio::Text::Operations::ITextStructureNavigator ^ CreateTextStructureNavigator(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
Microsoft::VisualStudio::Text::Operations::ITextStructureNavigator CreateTextStructureNavigator(Microsoft::VisualStudio::Text::ITextBuffer const & textBuffer);
public Microsoft.VisualStudio.Text.Operations.ITextStructureNavigator CreateTextStructureNavigator (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member CreateTextStructureNavigator : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Text.Operations.ITextStructureNavigator
Public Function CreateTextStructureNavigator (textBuffer As ITextBuffer) As ITextStructureNavigator
Parameters
- textBuffer
- ITextBuffer
The ITextBuffer for which to get the ITextStructureNavigator.
Returns
The ITextStructureNavigator for textBuffer
, or null.
Remarks
Providers should expect the result of this call to be cached and made available through the ITextStructureNavigatorSelectorService.