Share via


CommandBarButtonClass.Caption Property

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

Syntax

'Declaration
Public Overridable Property Caption As String
    Get
    Set
'Usage
Dim instance As CommandBarButtonClass
Dim value As String

value = instance.Caption

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

Property Value

Type: System.String

Implements

_CommandBarButton.Caption

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.Office.Core Namespace