KeyEventHandler 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public delegate void KeyEventHandler(Platform::Object ^ sender, KeyRoutedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2086916837, 31246, 19986, 185, 106, 119, 21, 170, 111, 241, 200)]
class KeyEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2086916837, 31246, 19986, 185, 106, 119, 21, 170, 111, 241, 200)]
public delegate void KeyEventHandler(object sender, KeyRoutedEventArgs e);
Public Delegate Sub KeyEventHandler(sender As Object, e As KeyRoutedEventArgs)
參數
- sender
-
Object
Platform::Object
IInspectable
附加事件處理常式的物件。
事件資料。
- 屬性
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|