Share via


OlkTimeControlEvents_KeyPressEventHandler 委托

定义

这是针对相应对象中的事件的委派。 在对事件实现回调方法后,使用此委派将回调方法连接到该事件。 如果存在多个版本的事件接口,此委派将为指定版本的 Outlook 中的事件连接回调方法。

public delegate void OlkTimeControlEvents_KeyPressEventHandler(int % KeyAscii);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void OlkTimeControlEvents_KeyPressEventHandler(ref int KeyAscii);
Public Delegate Sub OlkTimeControlEvents_KeyPressEventHandler(ByRef KeyAscii As Integer)

参数

KeyAscii
Int32

所按键的数值。

属性

适用于