LockScreenInfo.LockScreenImageChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique que l’image de l’écran de verrouillage a changé.
// Register
event_token LockScreenImageChanged(TypedEventHandler<LockScreenInfo, IInspectable const&> const& handler) const;
// Revoke with event_token
void LockScreenImageChanged(event_token const* cookie) const;
// Revoke with event_revoker
LockScreenInfo::LockScreenImageChanged_revoker LockScreenImageChanged(auto_revoke_t, TypedEventHandler<LockScreenInfo, IInspectable const&> const& handler) const;
public event TypedEventHandler<LockScreenInfo,object> LockScreenImageChanged;
function onLockScreenImageChanged(eventArgs) { /* Your code */ }
lockScreenInfo.addEventListener("lockscreenimagechanged", onLockScreenImageChanged);
lockScreenInfo.removeEventListener("lockscreenimagechanged", onLockScreenImageChanged);
- or -
lockScreenInfo.onlockscreenimagechanged = onLockScreenImageChanged;
Public Custom Event LockScreenImageChanged As TypedEventHandler(Of LockScreenInfo, Object)
Type d'événement
TypedEventHandler<LockScreenInfo,IInspectable>