Condividi tramite


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

'Dichiarazione
Public Overridable Property ShortcutText As String
    Get
    Set
'Utilizzo
Dim instance As CommandBarButtonClass
Dim value As String

value = instance.ShortcutText

instance.ShortcutText = value
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

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace