Share via


CommandBarButtonClass.ShortcutText Property

Gets or sets the shortcut text. This property is deprecated.

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

Syntax

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

Property Value

Type: System.String
The shortcut text. This property is deprecated.

Implements

_CommandBarButton.ShortcutText

Remarks

This property throws a DeprecatedException.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace