Partager via


AppNotification.ExpiresOnReboot Propriété

Définition

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.

S’applique à