ScheduledToastNotification.ExpirationTime ScheduledToastNotification.ExpirationTime ScheduledToastNotification.ExpirationTime ScheduledToastNotification.ExpirationTime ScheduledToastNotification.ExpirationTime Property

Definition

Gets or sets the expiration time of the notification.

public : IReference<DateTime> ExpirationTime { get; set; }
IReference<DateTime> ExpirationTime();

void ExpirationTime(IReference<DateTime> expirationtime);
public Nullable<DateTimeOffset> ExpirationTime { get; set; }
Public ReadWrite Property ExpirationTime As Nullable<DateTimeOffset>
var nullable = scheduledToastNotification.expirationTime;
scheduledToastNotification.expirationTime = nullable;

Property Value

Nullable<DateTimeOffset> Nullable<DateTimeOffset> Nullable<DateTimeOffset>

The expiration time of the notification.

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)