MiracastReceiverKeyboardDevice.Changed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当 MiracastReceiverKeyboardDevice 上的任何属性发生更改时引发的事件。
// Register
event_token Changed(TypedEventHandler<MiracastReceiverKeyboardDevice, IInspectable const&> const& handler) const;
// Revoke with event_token
void Changed(event_token const* cookie) const;
// Revoke with event_revoker
MiracastReceiverKeyboardDevice::Changed_revoker Changed(auto_revoke_t, TypedEventHandler<MiracastReceiverKeyboardDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<MiracastReceiverKeyboardDevice,object> Changed;
function onChanged(eventArgs) { /* Your code */ }
miracastReceiverKeyboardDevice.addEventListener("changed", onChanged);
miracastReceiverKeyboardDevice.removeEventListener("changed", onChanged);
- or -
miracastReceiverKeyboardDevice.onchanged = onChanged;
Public Custom Event Changed As TypedEventHandler(Of MiracastReceiverKeyboardDevice, Object)
事件类型
TypedEventHandler<MiracastReceiverKeyboardDevice,IInspectable>