Dela via


ScheduledTileNotification.ExpirationTime Property

Definition

Gets or sets the time after which the tile notification should no longer be shown. By default, a tile notification does not expire. It is a best practice to explicitly set an expiration time to avoid stale content.

public:
 property IReference<DateTime> ^ ExpirationTime { IReference<DateTime> ^ get(); void set(IReference<DateTime> ^ value); };
IReference<DateTime> ExpirationTime();

void ExpirationTime(IReference<DateTime> value);
public System.Nullable<System.DateTimeOffset> ExpirationTime { get; set; }
var iReference = scheduledTileNotification.expirationTime;
scheduledTileNotification.expirationTime = iReference;
Public Property ExpirationTime As Nullable(Of DateTimeOffset)

Property Value

The time after which the tile update should no longer be shown.

Applies to

See also