共用方式為


AppNotification.ExpiresOnReboot 屬性

定義

取得值,指定代理程式更新是否會保留在通知中心 (Windows 10) 重新開機後Windows 10) 。

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

屬性值

Boolean

bool

如果代理程式更新在重新開機後應該保留在通知中心,則為 True;否則為 false。

適用於