IVsTextLayerMarker 接口

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
<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

IVsTextLayerMarker 类型公开以下成员。

方法

  名称 说明
公共方法 DrawGlyph 绘制在特定 DC RECT 的标志符号。
公共方法 DrawGlyphEx
公共方法 ExecMarkerCommand
公共方法 GetBehavior 返回标记行为。
公共方法 GetCurrentSpan 返回当前范围。
公共方法 GetMarkerCommandInfo
公共方法 GetPriorityIndex 返回优先级索引。
公共方法 GetTextLayer
公共方法 GetTipText 返回工具提示文本。
公共方法 GetType 返回一个标记类型。
公共方法 GetVisualStyle 返回标记的视觉样式。
公共方法 Invalidate 防止一个标记显示在 UI。
公共方法 IsInvalidated
公共方法 QueryClientInterface 通知调用方标记是否已无效
公共方法 ResetSpan 重置标记位置。
公共方法 SetBehavior
公共方法 SetType
公共方法 SetVisualStyle
公共方法 UnadviseClient Unadvise 客户端,因此,如果有的话)。

页首

备注

此接口由一个随机层中的标记对象公开。 它们大于缓冲区标记是一个一般概念。 缓冲区标记根据定义是层标记,但是,不是缓冲区的某些层也会标记。 如果有 IVsTextLineMarkerIVsTextStreamMarker 不熟悉保证您可以 IVsTextLayerMarker的 QueryInterface ,,但。 但是 (这将适用缓冲区给定的标记。)

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间