_OlkCategory.ForeColor Property

Returns or sets a UInteger (uint in C#) value that indicates the foreground color of the control. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
<ComAliasNameAttribute("stdole.OLE_COLOR")> _
Property ForeColor As UInteger
    Get
    Set
'Usage
Dim instance As _OlkCategory
Dim value As UInteger

value = instance.ForeColor

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

Property Value

Type: System.UInt32

Remarks

This property is of the type OLE_COLOR which is a UInteger (uint in C#) value. The default value for this property is 0x80000008, "Window Text."

See Also

Reference

_OlkCategory Interface

_OlkCategory Members

Microsoft.Office.Interop.Outlook Namespace