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
'Déclaration
<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 | |
---|---|---|
DrawGlyph | Determines where a custom marker glyph can be drawn in the widget margin. | |
DrawGlyphEx | Draws a glyph in the widget margin given a display device context and a bounding rectangle. | |
GetBehaviorFlags | Returns marker behavior flags, which define the default marker behavior. | |
GetDefaultColors | Returns the default foreground and background colors for a marker. | |
GetDefaultLineStyle | Returns the default line attributes for a custom marker type. | |
GetDisplayName | Returns the display name of the custom marker type. | |
GetPriorityIndex | Returns the priority index for the custom marker type, with the highest priority value receiving the topmost placement. | |
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.