ITextStructureNavigatorProvider.CreateTextStructureNavigator Method
Creates a new ITextStructureNavigator for the specified ITextBuffer.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function CreateTextStructureNavigator ( _
textBuffer As ITextBuffer _
) As ITextStructureNavigator
ITextStructureNavigator CreateTextStructureNavigator(
ITextBuffer textBuffer
)
ITextStructureNavigator^ CreateTextStructureNavigator(
ITextBuffer^ textBuffer
)
abstract CreateTextStructureNavigator :
textBuffer:ITextBuffer -> ITextStructureNavigator
function CreateTextStructureNavigator(
textBuffer : ITextBuffer
) : ITextStructureNavigator
Parameters
textBuffer
Type: Microsoft.VisualStudio.Text.ITextBufferThe ITextBuffer for which to get the ITextStructureNavigator.
Return Value
Type: Microsoft.VisualStudio.Text.Operations.ITextStructureNavigator
The ITextStructureNavigator for textBuffer, or nulla null reference (Nothing in Visual Basic).
Remarks
Providers should expect the result of this call to be cached and made available through the ITextStructureNavigatorSelectorService.
.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.