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 | 決定自訂的資料標記的圖像 (glyph) 中的 widget 邊界可以繪製位置。 |
![]() |
DrawGlyphEx | 以指定顯示裝置內容和度量的矩形的 widget 邊界中的圖像 (glyph)。 |
![]() |
GetBehaviorFlags | 傳回標記行為旗標,它會定義預設的標記行為。 |
![]() |
GetDefaultColors | 傳回的預設標記的前景和背景色彩。 |
![]() |
GetDefaultLineStyle | 自訂的資料標記類型的線條屬性會傳回預設值。 |
![]() |
GetDisplayName | 傳回自訂的資料標記類型的顯示名稱。 |
![]() |
GetPriorityIndex | 傳回優先順序做為自訂的資料標記的類型,具有索引的最高的優先順序值,接收的最頂端的位置。 |
![]() |
GetVisualStyle | 傳回外觀、 位置和色彩的自訂標記型別。 |
回頁首
備註
實作IVsTextMarkerType以提供自訂的資料標記的型別中的行為的相關資訊。
實作者注意事項
實作 VSPackage,以提供自訂的資料標記的型別。