C# Class NotificationsExtensions.Tiles.TileContent

Base tile element, which contains a single visual element.
Afficher le fichier Open project: WindowsNotifications/NotificationsExtensions Class Usage Examples

Méthodes publiques

Méthode Description
GetContent ( ) : string

Retrieves the notification XML content as a string, so that it can be sent with a HTTP POST in a push notification.

GetXml ( ) : XmlDocument

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

TileContent ( ) : Windows.Data.Xml.Dom

Initializes a new instance of a tile notification's content. You must then set the Visual property, which is required for a tile notification.

Private Methods

Méthode Description
ConvertToElement ( ) : NotificationsExtensions.Tiles.Element_Tile

Method Details

GetContent() public méthode

Retrieves the notification XML content as a string, so that it can be sent with a HTTP POST in a push notification.
public GetContent ( ) : string
Résultat string

GetXml() public méthode

Retrieves the notification XML content as a WinRT XmlDocument, so that it can be used with a local tile notification's constructor on either Windows.UI.Notifications.TileNotification or Windows.UI.Notifications.ScheduledTileNotification.
public GetXml ( ) : XmlDocument
Résultat Windows.Data.Xml.Dom.XmlDocument

TileContent() public méthode

Initializes a new instance of a tile notification's content. You must then set the Visual property, which is required for a tile notification.
public TileContent ( ) : Windows.Data.Xml.Dom
Résultat Windows.Data.Xml.Dom