共用方式為


CommandBarButtonClass.accKeyboardShortcut Property

Gets the keyboard shortcut. This property is deprecated.

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

Syntax

'宣告
Public Overridable ReadOnly Property accKeyboardShortcut ( _
    varChild As Object _
) As String
    Get
'用途
Dim instance As CommandBarButtonClass
Dim varChild As Object
Dim value As String

value = instance.accKeyboardShortcut(varChild)
public virtual string this[
    Object varChild
] { get; }
public:
virtual property String^ accKeyboardShortcut[[InAttribute] Object^ varChild] {
    String^ get ([InAttribute] Object^ varChild);
}
abstract accKeyboardShortcut : string
override accKeyboardShortcut : string
JScript does not support indexed properties.

Parameters

Property Value

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

Implements

_CommandBarButton.accKeyboardShortcut[Object]

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace