次の方法で共有


_OlkTextBox.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
<ComAliasNameAttribute("stdole.OLE_COLOR")> _
<DispIdAttribute()> _
Property ForeColor As UInteger
    Get
    Set
'Usage
Dim instance As _OlkTextBox
Dim value As UInteger

value = instance.ForeColor

instance.ForeColor = value
[ComAliasNameAttribute("stdole.OLE_COLOR")]
[DispIdAttribute()]
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

_OlkTextBox Interface

_OlkTextBox Members

Microsoft.Office.Interop.Outlook Namespace