共用方式為


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 引進)

適用於