Share via


IVsTextMarkerType Interface

Provides a uniform mechanism for obtaining information about a given text marker type, whether predefined by the editor or registered by a package.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextMarkerType
[GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[InterfaceTypeAttribute()]
public interface IVsTextMarkerType
[GuidAttribute(L"8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[InterfaceTypeAttribute()]
public interface class IVsTextMarkerType
[<GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")>]
[<InterfaceTypeAttribute()>]
type IVsTextMarkerType =  interface end
public interface IVsTextMarkerType

The IVsTextMarkerType type exposes the following members.

Methods

  Name Description
Public method DrawGlyph Determines where a custom marker glyph can be drawn in the widget margin.
Public method DrawGlyphEx Draws a glyph in the widget margin given a display device context and a bounding rectangle.
Public method GetBehaviorFlags Returns marker behavior flags, which define the default marker behavior.
Public method GetDefaultColors Returns the default foreground and background colors for a marker.
Public method GetDefaultLineStyle Returns the default line attributes for a custom marker type.
Public method GetDisplayName Returns the display name of the custom marker type.
Public method GetPriorityIndex Returns the priority index for the custom marker type, with the highest priority value receiving the topmost placement.
Public method GetVisualStyle Returns the appearance, location, and coloring of a custom marker type.

Top

Remarks

Implement IVsTextMarkerType to provide information about the behavior for a custom marker type.

Notes to Implementers

Implemented by a VSPackage to provide a custom marker type.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace