ToastContentBuilder.AddCustomTimeStamp(DateTime) Method

Definition

Add custom time stamp on the toast to override the time display on the toast.

public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder AddCustomTimeStamp (DateTime dateTime);
member this.AddCustomTimeStamp : DateTime -> Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
Public Function AddCustomTimeStamp (dateTime As DateTime) As ToastContentBuilder

Parameters

dateTime
DateTime

Custom Time to be displayed on the toast

Returns

The current instance of ToastContentBuilder

Applies to