Share via


IVsTextLayerMarker Interface

Definition

Provides marker object management in an arbitrary layer.

public interface class IVsTextLayerMarker : Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker
public interface class IVsTextLayerMarker : Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker
__interface IVsTextLayerMarker : Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextLayerMarker : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextLayerMarker : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextLayerMarker = interface
    interface IVsTextMarker
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextLayerMarker = interface
    interface IVsTextMarker
Public Interface IVsTextLayerMarker
Implements IVsTextMarker
Attributes
Implements

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.)

Methods

DrawGlyph(IntPtr, RECT[])

Draws a glyph in the given DC & RECT.

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

Draws a glyph in the given DC & RECT.

ExecMarkerCommand(Int32)

Executes the specified marker command.

GetBehavior(UInt32)

Returns marker behavior.

GetCurrentSpan(TextSpan[])

Returns the current span position.

GetMarkerCommandInfo(Int32, String[], UInt32[])

Gets the marker command information.

GetPriorityIndex(Int32)

Returns the priority index.

GetTextLayer(IVsTextLayer)

Gets the text layer.

GetTipText(String[])

Returns tool tip text.

GetType(Int32)

Returns marker type.

GetVisualStyle(UInt32)

Returns the visual style of a marker.

Invalidate()

Prevents a marker from appearing in the UI, even if there are lingering references to it.

IsInvalidated()

Determines whether a marker was invalidated.

QueryClientInterface(Guid, IntPtr)

Gets the client interface specified.

ResetSpan(Int32, Int32, Int32, Int32)

Resets marker position.

SetBehavior(UInt32)

Sets the marker behavior.

SetType(Int32)

Sets the marker type.

SetVisualStyle(UInt32)

Sets the marker visual style.

UnadviseClient()

Unadvise the client, if any.

Applies to