Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public ReadOnly Property KeyCode As Keys
'使用
Dim instance As DiagramKeyEventArgs
Dim value As Keys
value = instance.KeyCode
public Keys KeyCode { get; }
public:
property Keys KeyCode {
Keys get ();
}
public function get KeyCode () : Keys
Property Value
Type: System.Windows.Forms.Keys
Permissions
- 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.