C# Класс SnapDotNet.Apps.Notifications.BadgeContent.BadgeGlyphNotificationContent

Notification content object to display a glyph on a tile's badge.
Наследование: IBadgeNotificationContent
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

BadgeGlyphNotificationContent() публичный Метод

Default constructor to create a glyph badge content object.
public BadgeGlyphNotificationContent ( ) : Windows.Data.Xml.Dom
Результат Windows.Data.Xml.Dom

BadgeGlyphNotificationContent() публичный Метод

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.
Результат Windows.Data.Xml.Dom

CreateNotification() публичный Метод

Creates a WinRT BadgeNotification object based on the content.
public CreateNotification ( ) : BadgeNotification
Результат Windows.UI.Notifications.BadgeNotification

GetContent() публичный Метод

Retrieves the notification Xml content as a string.
public GetContent ( ) : string
Результат string

GetXml() публичный Метод

Retrieves the notification Xml content as a WinRT Xml document.
public GetXml ( ) : XmlDocument
Результат Windows.Data.Xml.Dom.XmlDocument

ToString() публичный Метод

Retrieves the notification Xml content as a string.
public ToString ( ) : string
Результат string