共用方式為


CompositionCapabilities.Changed 事件

定義

支援組合功能變更時所觸發的事件。

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

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

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

事件類型

備註

在各種案例中可能會觸發此事件,例如將應用程式從連接至功能 9.1 之 GPU 的監視器拖曳至較高層級的其中一個,或起始設備磁碟機更新時。

適用於