CommandBarControl.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 CommandBarControl
Dim value As String
value = instance.Caption
instance.Caption = value
string Caption { get; set; }
Property Value
Type: System.String
Remarks
A control's caption is also displayed as its default ScreenTip.