共用方式為


DiagramKeyEventArgs.KeyData Property

Gets the key data for a KeyDown or KeyUp event.

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

Syntax

'Declaration
Public ReadOnly Property KeyData As Keys
public Keys KeyData { get; }
public:
property Keys KeyData {
    Keys get ();
}
member KeyData : Keys with get
function get KeyData () : Keys

Property Value

Type: System.Windows.Forms.Keys

.NET Framework Security

See Also

Reference

DiagramKeyEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace