OlkCommandButtonEvents_Event.KeyDown Event

Occurs when a user presses a key.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Event KeyDown As OlkCommandButtonEvents_KeyDownEventHandler
'Usage
Dim instance As OlkCommandButtonEvents_Event
Dim handler As OlkCommandButtonEvents_KeyDownEventHandler

AddHandler instance.KeyDown, handler
event OlkCommandButtonEvents_KeyDownEventHandler KeyDown

Remarks

The state of the modifier keys (SHIFT, CTRL, or ALT) that are pressed during the KeyDown event is accessible through the Shift parameter.

See Also

Reference

OlkCommandButtonEvents_Event Interface

OlkCommandButtonEvents_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.OlkCommandButtonEvents_KeyDownEventHandler