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) 

事件类型

适用于