_OlkLabel.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
<DispIdAttribute()> _
Property Caption As String
    Get
    Set
'Usage
Dim instance As _OlkLabel
Dim value As String

value = instance.Caption

instance.Caption = value
[DispIdAttribute()]
string Caption { get; set; }

Property Value

Type: System.String

Remarks

The default value is an empty string. The Forms Designer sets this property to the control's default name.

See Also

Reference

_OlkLabel Interface

_OlkLabel Members

Microsoft.Office.Interop.Outlook Namespace