次の方法で共有


OlkTextBoxEvents_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 OlkTextBoxEvents_KeyDownEventHandler
'Usage
Dim instance As OlkTextBoxEvents_Event
Dim handler As OlkTextBoxEvents_KeyDownEventHandler

AddHandler instance.KeyDown, handler
event OlkTextBoxEvents_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

OlkTextBoxEvents_Event Interface

OlkTextBoxEvents_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.OlkTextBoxEvents_KeyDownEventHandler