共用方式為


IStorageProviderStatusSource.Changed 事件

定義

注意

不支援此 API 的案例。 請改用 IStorageProviderStatusUISource.StatusUIChanged 事件。

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

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

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

事件類型

適用於