- e
- A System.Windows.Forms.KeyPressEventArgs that contains event data for the key that was pressed.
Visual Basic (Declaration) | |
---|---|
Overrides Protected Sub OnKeyPress( _ ByVal e As KeyPressEventArgs _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As NumericTextBox Dim e As KeyPressEventArgs instance.OnKeyPress(e) |
C# | |
---|---|
protected override void OnKeyPress( KeyPressEventArgs e ) |
Managed Extensions for C++ | |
---|---|
protected: void OnKeyPress( KeyPressEventArgs* e ) override |
C++/CLI | |
---|---|
protected: void OnKeyPress( KeyPressEventArgs^ e ) override |
Parameters
- e
- A System.Windows.Forms.KeyPressEventArgs that contains event data for the key that was pressed.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7