IVsTextLayerMarker Interface
Provides marker object management in an arbitrary layer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")> _
Public Interface IVsTextLayerMarker _
Inherits IVsTextMarker
[InterfaceTypeAttribute()]
[GuidAttribute("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
public interface IVsTextLayerMarker : IVsTextMarker
[InterfaceTypeAttribute()]
[GuidAttribute(L"28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
public interface class IVsTextLayerMarker : IVsTextMarker
[<InterfaceTypeAttribute()>]
[<GuidAttribute("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")>]
type IVsTextLayerMarker =
interface
interface IVsTextMarker
end
public interface IVsTextLayerMarker extends IVsTextMarker
The IVsTextLayerMarker type exposes the following members.
Methods
Name | Description | |
---|---|---|
DrawGlyph(IntPtr, array<RECT[]) | Draws a glyph in the given DC & RECT. | |
DrawGlyph(IntPtr, array<RECT[]) | Draws a glyph in the widget margin given a display context and bounding rectangle. (Inherited from IVsTextMarker.) | |
DrawGlyphEx | Draws a glyph in the given DC & RECT. | |
ExecMarkerCommand(Int32) | Executes the specified marker command. | |
ExecMarkerCommand(Int32) | Executes a text marker command against a marker. (Inherited from IVsTextMarker.) | |
GetBehavior(UInt32%) | Returns marker behavior. | |
GetBehavior(UInt32%) | Returns a text marker behavior set by the SetBehavior method. (Inherited from IVsTextMarker.) | |
GetCurrentSpan | Returns the current span position. | |
GetMarkerCommandInfo(Int32, array<String[], array<UInt32[]) | Gets the marker command information. | |
GetMarkerCommandInfo(Int32, array<String[], array<UInt32[]) | Returns text marker command information. (Inherited from IVsTextMarker.) | |
GetPriorityIndex(Int32%) | Returns the priority index. | |
GetPriorityIndex(Int32%) | Returns the text marker priority index, with the highest value getting the topmost placement. (Inherited from IVsTextMarker.) | |
GetTextLayer | Gets the text layer. | |
GetTipText(array<String[]) | Returns tool tip text. | |
GetTipText(array<String[]) | Returns the text to display in a tip for the marker type. (Inherited from IVsTextMarker.) | |
GetType(Int32%) | Returns marker type. | |
GetType(Int32%) | Returns a text marker type. (Inherited from IVsTextMarker.) | |
GetVisualStyle(UInt32%) | Returns the visual style of a marker. | |
GetVisualStyle(UInt32%) | Returns the visual style of a marker type. (Inherited from IVsTextMarker.) | |
Invalidate() | Prevents a marker from appearing in the UI, even if there are lingering references to it. | |
Invalidate() | Prevents a text marker from appearing in the user interface. (Inherited from IVsTextMarker.) | |
IsInvalidated | Determines whether a marker was invalidated. | |
QueryClientInterface | Gets the client interface specified. | |
ResetSpan | Resets marker position. | |
SetBehavior(UInt32) | Sets the marker behavior. | |
SetBehavior(UInt32) | Sets the behavior of a text marker. (Inherited from IVsTextMarker.) | |
SetType(Int32) | Sets the marker type. | |
SetType(Int32) | Sets a text marker type. (Inherited from IVsTextMarker.) | |
SetVisualStyle(UInt32) | Sets the marker visual style. | |
SetVisualStyle(UInt32) | Sets the visual style of a marker type. (Inherited from IVsTextMarker.) | |
UnadviseClient() | Unadvise the client, if any. | |
UnadviseClient() | Unadvises the client, if there is one. (Inherited from IVsTextMarker.) |
Top
Remarks
This interface is exposed by marker objects that live in an arbitrary layer. They are a more general concept than a buffer marker. Buffer markers are by definition layer markers, but some layers that are not buffers can also originate markers. If you have an IVsTextLineMarker or IVsTextStreamMarker it is guaranteed that you can QueryInterface for IVsTextLayerMarker, but not vice versa. (This will be true for buffer-originated markers however.)