KeyCode Property

See Also         Example         Applies To

Returns the key code for the key that caused the event. Valid only for the KeyDown and KeyUp events. Read-only Long.