C# Class NotificationsExtensions.BadgeContent.BadgeNumericNotificationContent

Inheritance: IBadgeNotificationContent, INotificationContent
Afficher le fichier Open project: nickharris/WnsRecipe Class Usage Examples

Méthodes publiques

Méthode Description
BadgeNumericNotificationContent ( ) : Windows.Data.Xml.Dom

Default constructor to create a numeric badge content object.

BadgeNumericNotificationContent ( uint number ) : Windows.Data.Xml.Dom

Constructor to create a numeric badge content object with a number.

CreateNotification ( ) : BadgeNotification

Creates a WinRT BadgeNotification object based on the content.

GetContent ( ) : string

Retrieves the notification Xml content as a string.

GetXml ( ) : XmlDocument

Retrieves the notification Xml content as a WinRT Xml document.

ToString ( ) : string

Retrieves the notification Xml content as a string.

Method Details

BadgeNumericNotificationContent() public méthode

Default constructor to create a numeric badge content object.
public BadgeNumericNotificationContent ( ) : Windows.Data.Xml.Dom
Résultat Windows.Data.Xml.Dom

BadgeNumericNotificationContent() public méthode

Constructor to create a numeric badge content object with a number.
public BadgeNumericNotificationContent ( uint number ) : Windows.Data.Xml.Dom
number uint /// The number that will appear on the badge. If the number is 0, the badge /// will be removed. The largest value that will appear on the badge is 99. /// Numbers greater than 99 are allowed, but will be displayed as "99+". ///
Résultat Windows.Data.Xml.Dom

CreateNotification() public méthode

Creates a WinRT BadgeNotification object based on the content.
public CreateNotification ( ) : BadgeNotification
Résultat BadgeNotification

GetContent() public méthode

Retrieves the notification Xml content as a string.
public GetContent ( ) : string
Résultat string

GetXml() public méthode

Retrieves the notification Xml content as a WinRT Xml document.
public GetXml ( ) : XmlDocument
Résultat XmlDocument

ToString() public méthode

Retrieves the notification Xml content as a string.
public ToString ( ) : string
Résultat string