NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

KeyPressEventArgs Constructor (Char)

Initializes a new instance of the KeyPressEventArgs class.

[Visual Basic]
Overloads Public Sub New( _
   ByVal keyChar As Char _
)
[C#]
public KeyPressEventArgs(
   char keyChar
);
[C++]
public: KeyPressEventArgs(
   __wchar_t keyChar
);
[JScript]
public function KeyPressEventArgs(
   keyChar : Char
);

Parameters

keyChar
The ASCII character corresponding to the key the user pressed.

See Also

KeyPressEventArgs Class | KeyPressEventArgs Members | System.WinForms Namespace | KeyPressEventArgs Constructor Overload List