共用方式為


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 的監視器拖曳至較高層級的 GPU 時,或起始裝置驅動程式更新時。

適用於