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)

[GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[InterfaceTypeAttribute(1)]
public interface IVsTextMarkerType

NameDescription
System_CAPS_pubmethodDrawGlyph(IntPtr, RECT[])

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

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

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

System_CAPS_pubmethodGetBehaviorFlags(UInt32)

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

System_CAPS_pubmethodGetDefaultColors(COLORINDEX[], COLORINDEX[])

Returns the default foreground and background colors for a marker.

System_CAPS_pubmethodGetDefaultLineStyle(COLORINDEX[], LINESTYLE[])

Returns the default line attributes for a custom marker type.

System_CAPS_pubmethodGetDisplayName(String)

Returns the display name of the custom marker type.

System_CAPS_pubmethodGetPriorityIndex(Int32)

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

System_CAPS_pubmethodGetVisualStyle(UInt32)

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

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.

Return to top
Show: