_Category.Color Property
Returns or sets an OlCategoryColor constant that indicates the color used by the Category object. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Property Color As OlCategoryColor
Get
Set
'Usage
Dim instance As _Category
Dim value As OlCategoryColor
value = instance.Color
instance.Color = value
OlCategoryColor Color { get; set; }
Property Value
Type: Microsoft.Office.Interop.Outlook.OlCategoryColor
Remarks
Any OlCategoryColor constant other than olCategoryColorNone can only be used by one Category object at any given time. Setting the value of this property to an OlCategoryColor constant already in use sets the Color property of the Category object already using the specified value to olCategoryColorNone.