Share via


_CommandBarComboBox.Caption Property

Returns or sets the caption text for a command bar control.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

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

value = instance.Caption

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

Property Value

Type: System.String

Implements

CommandBarControl.Caption

Remarks

A control's caption is also displayed as its default ScreenTip.

Notes to Callers

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Caption Overload

Microsoft.Office.Core Namespace