KeypadPressedEventHandler 委托

定义

处理 KeypadPressed 事件。

public delegate void KeypadPressedEventHandler(CallControl ^ sender, KeypadPressedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Devices.CallControlContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3862406228, 50471, 16940, 137, 38, 201, 175, 131, 181, 89, 160)]
class KeypadPressedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Devices.CallControlContract), 65536)]
[Windows.Foundation.Metadata.Guid(3862406228, 50471, 16940, 137, 38, 201, 175, 131, 181, 89, 160)]
public delegate void KeypadPressedEventHandler(CallControl sender, KeypadPressedEventArgs e);
var keypadPressedEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub KeypadPressedEventHandler(sender As CallControl, e As KeypadPressedEventArgs)

参数

sender
CallControl

引发事件的 CallControl 对象。

e
KeypadPressedEventArgs

包含事件信息的类。

属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Media.Devices.CallControlContract (在 v1.0 中引入)

适用于