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 客户端,因此,如果有的话)。 |
页首
备注
此接口由一个随机层中的标记对象公开。 它们大于缓冲区标记是一个一般概念。 缓冲区标记根据定义是层标记,但是,不是缓冲区的某些层也会标记。 如果有 IVsTextLineMarker 或 IVsTextStreamMarker 不熟悉保证您可以 IVsTextLayerMarker的 QueryInterface ,,但。 但是 (这将适用缓冲区给定的标记。)