共用方式為


DialogKeyEventArgs.Key Property

Gets the key being pressed within UIElementDialogPage.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Property Key As Key
public Key Key { get; private set; }

Property Value

Type: System.Windows.Input.Key

.NET Framework Security

See Also

Reference

DialogKeyEventArgs Class

Microsoft.VisualStudio.Shell Namespace