Partager via


ITextStructureNavigatorSelectorService Interface

Definition

Selects and caches ITextStructureNavigator objects based on content type.

public interface class ITextStructureNavigatorSelectorService
public interface class ITextStructureNavigatorSelectorService
__interface ITextStructureNavigatorSelectorService
public interface ITextStructureNavigatorSelectorService
type ITextStructureNavigatorSelectorService = interface
Public Interface ITextStructureNavigatorSelectorService

Remarks

This is a MEF component part, and should be imported as follows: [Import] ITextStructureNavigatorSelectorService navigator = null;

Methods

CreateTextStructureNavigator(ITextBuffer, IContentType)

Creates a new ITextStructureNavigator for the specified ITextBuffer by using the specified IContentType to select the navigator.

GetTextStructureNavigator(ITextBuffer)

Gets a ITextStructureNavigator for the specified ITextBuffer, either by creating a new one or by using a cached value.

Applies to