C# Class NotificationsExtensions.BadgeContent.BadgeGlyphNotificationContent

Notification content object to display a glyph on a tile's badge.
Inheritance: IBadgeNotificationContent
Mostra file Open project: nickharris/WnsRecipe Class Usage Examples

Public Methods

Method Description
BadgeGlyphNotificationContent ( ) : Windows.Data.Xml.Dom

Default constructor to create a glyph badge content object.

BadgeGlyphNotificationContent ( GlyphValue glyph ) : Windows.Data.Xml.Dom

Constructor to create a glyph badge content object with a glyph.

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

BadgeGlyphNotificationContent() public method

Default constructor to create a glyph badge content object.
public BadgeGlyphNotificationContent ( ) : Windows.Data.Xml.Dom
return Windows.Data.Xml.Dom

BadgeGlyphNotificationContent() public method

Constructor to create a glyph badge content object with a glyph.
public BadgeGlyphNotificationContent ( GlyphValue glyph ) : Windows.Data.Xml.Dom
glyph GlyphValue The glyph to be displayed on the badge.
return Windows.Data.Xml.Dom

CreateNotification() public method

Creates a WinRT BadgeNotification object based on the content.
public CreateNotification ( ) : BadgeNotification
return Windows.UI.Notifications.BadgeNotification

GetContent() public method

Retrieves the notification Xml content as a string.
public GetContent ( ) : string
return string

GetXml() public method

Retrieves the notification Xml content as a WinRT Xml document.
public GetXml ( ) : XmlDocument
return Windows.Data.Xml.Dom.XmlDocument

ToString() public method

Retrieves the notification Xml content as a string.
public ToString ( ) : string
return string