IVsTextMarkerType Interface

Definition

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

public interface class IVsTextMarkerType
public interface class IVsTextMarkerType
__interface IVsTextMarkerType
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextMarkerType
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextMarkerType
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextMarkerType = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextMarkerType = interface
Public Interface IVsTextMarkerType
Attributes

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.

Methods

DrawGlyph(IntPtr, RECT[])

Determines where a custom marker glyph can be drawn in the widget margin.

DrawGlyphEx(UInt32, IntPtr, RECT[], Int32)

Draws a glyph in the widget margin given a display device context and a bounding rectangle.

GetBehaviorFlags(UInt32)

Returns marker behavior flags, which define the default marker behavior.

GetDefaultColors(COLORINDEX[], COLORINDEX[])

Returns the default foreground and background colors for a marker.

GetDefaultLineStyle(COLORINDEX[], LINESTYLE[])

Returns the default line attributes for a custom marker type.

GetDisplayName(String)

Returns the display name of the custom marker type.

GetPriorityIndex(Int32)

Returns the priority index for the custom marker type, with the highest priority value receiving the topmost placement.

GetVisualStyle(UInt32)

Returns the appearance, location, and coloring of a custom marker type.

Applies to