IVsTextMarkerType 接口

是否提供了统一框架有关特定文本标记的信息类型,预定义由编辑器或签入由包。

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

语法

声明
<GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextMarkerType
[GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[InterfaceTypeAttribute()]
public interface IVsTextMarkerType
[GuidAttribute(L"8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[InterfaceTypeAttribute()]
public interface class IVsTextMarkerType
[<GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")>]
[<InterfaceTypeAttribute()>]
type IVsTextMarkerType =  interface end
public interface IVsTextMarkerType

IVsTextMarkerType 类型公开以下成员。

方法

  名称 说明
公共方法 DrawGlyph 将自定义标记标志符号位置。小部件边距可以绘制。
公共方法 DrawGlyphEx 绘制中给出的小部件边距的标志符号显示设备上下文和一个边框。
公共方法 GetBehaviorFlags 返回标记行为标志,定义默认标记行为。
公共方法 GetDefaultColors 返回标记的默认值前景色和背景色。
公共方法 GetDefaultLineStyle 返回一个自定义标记类型的默认行属性。
公共方法 GetDisplayName 返回自定义标记类型的显示名称。
公共方法 GetPriorityIndex 返回自定义标记类型的优先级索引,在最高优先级的值接收最顶层的位置。
公共方法 GetVisualStyle 返回一个自定义标记类型的外观、位置和着色。

页首

备注

实现 IVsTextMarkerType 用于自定义标记类型提供有关该行为的信息。

对实现者的说明

实现 VSPackage 提供自定义标记类型。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间