Partager via


DiagramKeyEventArgs.KeyCode Property

Gets the keyboard code 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

'Déclaration
Public ReadOnly Property KeyCode As Keys
    Get
public Keys KeyCode { get; }
public:
property Keys KeyCode {
    Keys get ();
}
member KeyCode : Keys
function get KeyCode () : Keys

Property Value

Type: System.Windows.Forms.Keys

.NET Framework Security

See Also

Reference

DiagramKeyEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace