KeyEventArgs(Keys) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the KeyEventArgs class.
public:
KeyEventArgs(System::Windows::Forms::Keys keyData);
public KeyEventArgs (System.Windows.Forms.Keys keyData);
new System.Windows.Forms.KeyEventArgs : System.Windows.Forms.Keys -> System.Windows.Forms.KeyEventArgs
Public Sub New (keyData As Keys)
Parameters
- keyData
- Keys
A Keys representing the key that was pressed, combined with any modifier flags that indicate which CTRL, SHIFT, and ALT keys were pressed at the same time. Possible values are obtained by applying the bitwise OR (|) operator to constants from the Keys enumeration.
Applies to
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.