FolderInformation.PropertiesUpdated 事件

定义

StorageFolder 的一个或多个属性更新时发生。

// 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
FolderInformation::PropertiesUpdated_revoker PropertiesUpdated(auto_revoke_t, TypedEventHandler<IStorageItemInformation, IInspectable const&> const& handler) const;
public event TypedEventHandler<IStorageItemInformation,object> PropertiesUpdated;
function onPropertiesUpdated(eventArgs) { /* Your code */ }
folderInformation.addEventListener("propertiesupdated", onPropertiesUpdated);
folderInformation.removeEventListener("propertiesupdated", onPropertiesUpdated);
- or -
folderInformation.onpropertiesupdated = onPropertiesUpdated;
Public Custom Event PropertiesUpdated As TypedEventHandler(Of IStorageItemInformation, Object) Implements PropertiesUpdated

事件类型

实现

适用于