共用方式為


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

'宣告
Public Overridable Property ShortcutText As String
public virtual string ShortcutText { get; set; }

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