C# 클래스 NotificationsExtensions.BadgeContent.BadgeNumericNotificationContent

상속: IBadgeNotificationContent, INotificationContent
파일 보기 프로젝트 열기: nickharris/WnsRecipe 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

BadgeNumericNotificationContent() 공개 메소드

Default constructor to create a numeric badge content object.
public BadgeNumericNotificationContent ( ) : Windows.Data.Xml.Dom
리턴 Windows.Data.Xml.Dom

BadgeNumericNotificationContent() 공개 메소드

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+". ///
리턴 Windows.Data.Xml.Dom

CreateNotification() 공개 메소드

Creates a WinRT BadgeNotification object based on the content.
public CreateNotification ( ) : BadgeNotification
리턴 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
리턴 XmlDocument

ToString() 공개 메소드

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