AppNotification.ExpiresOnReboot Propriété
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.
Obtient une valeur spécifiant si la notification d’application restera dans le Centre de notifications (appelé Centre de notifications dans Windows 10) après un redémarrage.
public:
property bool ExpiresOnReboot { bool get(); void set(bool value); };
bool ExpiresOnReboot();
void ExpiresOnReboot(bool value);
public bool ExpiresOnReboot { get; set; }
var boolean = appNotification.expiresOnReboot;
appNotification.expiresOnReboot = boolean;
Public Property ExpiresOnReboot As Boolean
Valeur de propriété
Boolean
bool
True si la notification d’application doit rester dans le Centre de notifications après un redémarrage ; sinon, false.