IVsTextLayerMarker 介面

定義

在任意層中提供標記物件管理。

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
屬性
實作

備註

這個介面是由存在於任意圖層中的標記物件所公開。 它們比緩衝區標記更一般的概念。 緩衝區標記是依定義層標記,但某些不是緩衝區的圖層也可以產生標記。 如果您有 IVsTextLineMarkerIVsTextStreamMarker ,則保證您可以 QueryInterface 針對 IVsTextLayerMarker,但反之亦然。 (不過,對於緩衝區產生的標記而言,這會是 true。)

方法

DrawGlyph(IntPtr, RECT[])

在指定的DC & RECT 中繪製字元。

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

在指定的DC & RECT 中繪製字元。

ExecMarkerCommand(Int32)

執行指定的標記命令。

GetBehavior(UInt32)

傳回標記行為。

GetCurrentSpan(TextSpan[])

傳回目前的範圍位置。

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

取得標記命令資訊。

GetPriorityIndex(Int32)

傳回優先順序索引。

GetTextLayer(IVsTextLayer)

取得文字圖層。

GetTipText(String[])

傳回工具提示文字。

GetType(Int32)

傳回標記類型。

GetVisualStyle(UInt32)

傳回標記的可視化樣式。

Invalidate()

防止標記出現在UI中,即使有對它的內文參考也一樣。

IsInvalidated()

判斷標記是否失效。

QueryClientInterface(Guid, IntPtr)

取得指定的用戶端介面。

ResetSpan(Int32, Int32, Int32, Int32)

重設標記位置。

SetBehavior(UInt32)

設定標記行為。

SetType(Int32)

設定標記類型。

SetVisualStyle(UInt32)

設定標記可視化樣式。

UnadviseClient()

取消新增用戶端,如果有的話。

適用於