MiracastReceiverGameControllerDevice.Changed 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當 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)
事件類型
TypedEventHandler<MiracastReceiverGameControllerDevice,Object>
TypedEventHandler<MiracastReceiverGameControllerDevice,IInspectable>