次の方法で共有


_Category.CategoryGradientTopColor Property

Returns an OLE_COLOR value that represents the top gradient 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 CategoryGradientTopColor As UInteger
    Get
'Usage
Dim instance As _Category
Dim value As UInteger

value = instance.CategoryGradientTopColor
[ComAliasNameAttribute("stdole.OLE_COLOR")]
[DispIdAttribute()]
uint CategoryGradientTopColor { 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 CategoryBorderColor properties.

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

See Also

Reference

_Category Interface

_Category Members

Microsoft.Office.Interop.Outlook Namespace