共用方式為


_CommandBarButton.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

'宣告
Property ShortcutText As String
    Get
    Set
'用途
Dim instance As _CommandBarButton
Dim value As String

value = instance.ShortcutText

instance.ShortcutText = value
string ShortcutText { get; set; }
property String^ ShortcutText {
    String^ get ();
    void set (String^ value);
}
abstract 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.

Remarks

This property throws a DeprecatedException.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace