Share via


_OlkTimeControl.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
Property ForeColor As UInteger
    Get
    Set
'Usage
Dim instance As _OlkTimeControl
Dim value As UInteger

value = instance.ForeColor

instance.ForeColor = value
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

_OlkTimeControl Interface

_OlkTimeControl Members

Microsoft.Office.Interop.Outlook Namespace