Udostępnij za pośrednictwem


FileInformation.PropertiesUpdated Event

Definition

Occurs when one or more of the StorageFile's properties is updated.

// Register
event_token PropertiesUpdated(TypedEventHandler<IStorageItemInformation, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
FileInformation::PropertiesUpdated_revoker PropertiesUpdated(auto_revoke_t, TypedEventHandler<IStorageItemInformation, IInspectable const&> const& handler) const;
public event TypedEventHandler<IStorageItemInformation,object> PropertiesUpdated;
function onPropertiesUpdated(eventArgs) { /* Your code */ }
fileInformation.addEventListener("propertiesupdated", onPropertiesUpdated);
fileInformation.removeEventListener("propertiesupdated", onPropertiesUpdated);
- or -
fileInformation.onpropertiesupdated = onPropertiesUpdated;
Public Custom Event PropertiesUpdated As TypedEventHandler(Of IStorageItemInformation, Object) Implements PropertiesUpdated

Event Type

Implements

Applies to