共用方式為


StorageLibrary.DefinitionChanged 事件

定義

發生于目前文件庫中的資料夾清單變更時。

// Register
event_token DefinitionChanged(TypedEventHandler<StorageLibrary, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
StorageLibrary::DefinitionChanged_revoker DefinitionChanged(auto_revoke_t, TypedEventHandler<StorageLibrary, IInspectable const&> const& handler) const;
public event TypedEventHandler<StorageLibrary,object> DefinitionChanged;
function onDefinitionChanged(eventArgs) { /* Your code */ }
storageLibrary.addEventListener("definitionchanged", onDefinitionChanged);
storageLibrary.removeEventListener("definitionchanged", onDefinitionChanged);
- or -
storageLibrary.ondefinitionchanged = onDefinitionChanged;
Public Custom Event DefinitionChanged As TypedEventHandler(Of StorageLibrary, Object) 

事件類型

適用於