共用方式為


__tagVSCOLORDATA Enumeration

Specifies a type of color value: foreground, background, or line color.

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

Syntax

'宣告
Public Enumeration __tagVSCOLORDATA
'用途
Dim instance As __tagVSCOLORDATA
public enum __tagVSCOLORDATA
public enum class __tagVSCOLORDATA
type __tagVSCOLORDATA
public enum __tagVSCOLORDATA

Members

Member name Description
CD_FOREGROUND Specifies the foreground color.
CD_BACKGROUND Specifies the background color.
CD_LINECOLOR Specifies the line color (used when the IVsHiColorItem interface is implemented on the IVsPackageDefinedTextMarkerType interface).

Remarks

This enumeration is used by the GetColorData method in the IVsHiColorItem interface to specify which color element to return. See the IVsHiColorItem interface for an example of how this enumeration is used.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace