Share via


CommandBarButtonClass.Caption Property

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Public Overridable Property Caption As String
public virtual string Caption { get; set; }
public:
virtual property String^ Caption {
    String^ get ();
    void set (String^ value);
}
abstract Caption : string with get, set
override Caption : string with get, set
function get Caption () : String
function set Caption (value : String)

Property Value

Type: System.String

Implements

_CommandBarButton.Caption

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace