Share via


AppNotification.Expiration Property

Definition

Gets or sets the time after which the app notification should not be displayed.

public:
 property DateTime Expiration { DateTime get(); void set(DateTime value); };
DateTime Expiration();

void Expiration(DateTime value);
public System.DateTimeOffset Expiration { get; set; }
var dateTime = appNotification.expiration;
appNotification.expiration = dateTime;
Public Property Expiration As DateTimeOffset

Property Value

The time after which the app notification should not be displayed.

Applies to