Compartir a través de


ITextMarkerProviderFactory Interface

Gets a text marker tagger (a SimpleTagger<T> of type TextMarkerTag for a given buffer, or creates a new one if no text marker tagger is already cached in the owned properties of the buffer.

Namespace:  Microsoft.VisualStudio.Text.Adornments
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaración
Public Interface ITextMarkerProviderFactory
public interface ITextMarkerProviderFactory
public interface class ITextMarkerProviderFactory
type ITextMarkerProviderFactory =  interface end
public interface ITextMarkerProviderFactory

The ITextMarkerProviderFactory type exposes the following members.

Methods

  Name Description
Public method GetTextMarkerTagger Gets the cached text marker tagger for a given ITextBuffer.

Top

Remarks

This is a MEF Component, and should be exported with the following attribute:

[Import]
Internal ITextMarkerProviderFactory testMarkerProviderFactory = null;

See Also

Reference

Microsoft.VisualStudio.Text.Adornments Namespace