This documentation is archived and is not being maintained.


Indicates if a color used in conjunction with the Visual StudioFont and Color service is a foreground or background color.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in

public enum __VSCOLORASPECT
public enum __VSCOLORASPECT
public enum __VSCOLORASPECT

 Member nameDescription
CA_BACKGROUNDIndicates that a color value represents a background color. 
CA_FOREGROUNDIndicates that a color value represents a foreground color. 

This structure is used in the IVsFontAndColorUtilities interface: it is passed in to the EncodeTrackedItem method and it is returned from the GetTrackedItemIndex method.