ToastContentBuilder.GetXml Method

Definition

Retrieves the notification XML content as a WinRT XmlDocument, so that it can be used with a local Toast notification's constructor on either Windows.UI.Notifications.ToastNotification or Windows.UI.Notifications.ScheduledToastNotification.

public Windows.Data.Xml.Dom.XmlDocument GetXml ();
member this.GetXml : unit -> Windows.Data.Xml.Dom.XmlDocument
Public Function GetXml () As XmlDocument

Returns

Windows.Data.Xml.Dom.XmlDocument

The notification XML content as a WinRT XmlDocument.

Applies to