Partager via


OlCategoryColor Enumeration

Indicates the color specified in the Color property of the Category object.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Public Enumeration OlCategoryColor
'Usage
Dim instance As OlCategoryColor
public enum OlCategoryColor

Members

Member name Description
olCategoryColorNone No color assigned.
olCategoryColorRed Red
olCategoryColorOrange Orange
olCategoryColorPeach Peach
olCategoryColorYellow Yellow
olCategoryColorGreen Green
olCategoryColorTeal Teal
olCategoryColorOlive Olive
olCategoryColorBlue Blue
olCategoryColorPurple Purple
olCategoryColorMaroon Maroon
olCategoryColorSteel Steel
olCategoryColorDarkSteel Dark Steel
olCategoryColorGray Gray
olCategoryColorDarkGray Dark Gray
olCategoryColorBlack Black
olCategoryColorDarkRed Dark Red
olCategoryColorDarkOrange Dark Orange
olCategoryColorDarkPeach Dark Peach
olCategoryColorDarkYellow Dark Yellow
olCategoryColorDarkGreen Dark Green
olCategoryColorDarkTeal Dark Teal
olCategoryColorDarkOlive Dark Olive
olCategoryColorDarkBlue Dark Blue
olCategoryColorDarkPurple Dark Purple
olCategoryColorDarkMaroon Dark Maroon

Remarks

The color constants provided here are an approximation of the actual colors used by the Category object. Use the CategoryBorderColor, CategoryGradientBottomColor, and CategoryGradientTopColor properties to retrieve the OLE_COLOR color values used to represent the Category object, after setting the Color property to the appropriate constant.

See Also

Reference

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Enumerate and Add Categories