共用方式為


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
[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

The IVsTextMarkerColorSet type exposes the following members.

Methods

  Name Description
Public method GetMarkerColors Determines the color set associated with a particular marker type.

Top

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

Microsoft.VisualStudio.TextManager.Interop Namespace