共用方式為


MiracastReceiverGameControllerDevice.Changed 事件

定義

當 MiracastReceiverGameControllerDevice 上的任何屬性變更時引發的事件。

// Register
event_token Changed(TypedEventHandler<MiracastReceiverGameControllerDevice, IInspectable const&> const& handler) const;

// Revoke with event_token
void Changed(event_token const* cookie) const;

// Revoke with event_revoker
MiracastReceiverGameControllerDevice::Changed_revoker Changed(auto_revoke_t, TypedEventHandler<MiracastReceiverGameControllerDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<MiracastReceiverGameControllerDevice,object> Changed;
function onChanged(eventArgs) { /* Your code */ }
miracastReceiverGameControllerDevice.addEventListener("changed", onChanged);
miracastReceiverGameControllerDevice.removeEventListener("changed", onChanged);
- or -
miracastReceiverGameControllerDevice.onchanged = onChanged;
Public Custom Event Changed As TypedEventHandler(Of MiracastReceiverGameControllerDevice, Object) 

事件類型

適用於