ConsoleKeyInfo: Key (get)

Key

Returns the scankey code of the pressed key.



 Public Property Get Key ( ) As ConsoleKey

Return Values

ConsoleKey -  Scankey code.

Remarks

This is not the same code as an ascii code.

Read Only.

See Also

Project VBCorLib Overview Class ConsoleKeyInfo Overview ConsoleKeyInfo Properties ConsoleKeyInfo Methods IObject KeyChar (get)