共用方式為


IVsTextMarkerColorSet Interface

Allows a marker type to determine whether other marker types share the same color set.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("93373F76-DF07-46DB-9415-1772069F60A4")> _
Public Interface IVsTextMarkerColorSet
'用途
Dim instance As IVsTextMarkerColorSet
[InterfaceTypeAttribute()]
[GuidAttribute("93373F76-DF07-46DB-9415-1772069F60A4")]
public interface IVsTextMarkerColorSet
[InterfaceTypeAttribute()]
[GuidAttribute(L"93373F76-DF07-46DB-9415-1772069F60A4")]
public interface class IVsTextMarkerColorSet
[<InterfaceTypeAttribute()>]
[<GuidAttribute("93373F76-DF07-46DB-9415-1772069F60A4")>]
type IVsTextMarkerColorSet =  interface end
public interface IVsTextMarkerColorSet

Remarks

Information from GetMarkerColors is used in DrawGlyphWithColorsto allow a marker type to determine whether another marker type is using the same color set.

Notes to Callers

Call to determine the foreground and background color for a marker type.

See Also

Reference

IVsTextMarkerColorSet Members

Microsoft.VisualStudio.TextManager.Interop Namespace