共用方式為


DiagramKeyEventArgs.KeyData Property

Gets the key data for a KeyDown or KeyUp event.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public ReadOnly Property KeyData As Keys
    Get
public Keys KeyData { get; }
public:
property Keys KeyData {
    Keys get ();
}
member KeyData : Keys
function get KeyData () : Keys

Property Value

Type: System.Windows.Forms.Keys

.NET Framework Security

See Also

Reference

DiagramKeyEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace