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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.