ToastContentBuilder.AddCustomTimeStamp(DateTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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