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
Get
Set
‘사용 방법
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.