Partager via


_Category.CategoryBorderColor Property

Returns an OLE_COLOR value that represents the border color of the color swatch displayed for a Category object. Read-only.

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

Syntax

'Declaration
<ComAliasNameAttribute("stdole.OLE_COLOR")> _
<DispIdAttribute()> _
ReadOnly Property CategoryBorderColor As UInteger
    Get
'Usage
Dim instance As _Category
Dim value As UInteger

value = instance.CategoryBorderColor
[ComAliasNameAttribute("stdole.OLE_COLOR")]
[DispIdAttribute()]
uint CategoryBorderColor { get; }

Property Value

Type: System.UInt32

Remarks

Setting the Color property of the Category object to an OlCategoryColor constant changes the value of this property, as well as the value of the CategoryGradientBottomColor and CategoryGradientTopColor properties.

This color should be used to display the border of a gradient-shaded color swatch for the Category object.

See Also

Reference

_Category Interface

_Category Members

Microsoft.Office.Interop.Outlook Namespace