Delen via


StorageLibrary.DefinitionChanged Event

Definition

Occurs when the list of folders in the current library changes.

// 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) 

Event Type

Applies to