Share via


_OlkCheckBox.Caption Property

Returns or sets a String (string in C#) that appears on an object to identify or describe it. Read/write.

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

Syntax

'Declaration
Property Caption As String
    Get
    Set
'Usage
Dim instance As _OlkCheckBox
Dim value As String

value = instance.Caption

instance.Caption = value
string Caption { get; set; }

Property Value

Type: System.String

Remarks

The default value is based on the control's name. The position of the caption relative to the check box is determined by the Alignment property.

See Also

Reference

_OlkCheckBox Interface

_OlkCheckBox Members

Microsoft.Office.Interop.Outlook Namespace