FeedAnnouncement(String, String, String, Uri, Uri) Constructor

Definition

Initializes a new instance of the FeedAnnouncement class.

public:
 FeedAnnouncement(Platform::String ^ id, Platform::String ^ primaryText, Platform::String ^ secondaryText, Uri ^ lightModeIcon, Uri ^ darkModeIcon);
 FeedAnnouncement(winrt::hstring const& id, winrt::hstring const& primaryText, winrt::hstring const& secondaryText, Uri const& lightModeIcon, Uri const& darkModeIcon);
public FeedAnnouncement(string id, string primaryText, string secondaryText, System.Uri lightModeIcon, System.Uri darkModeIcon);
function FeedAnnouncement(id, primaryText, secondaryText, lightModeIcon, darkModeIcon)
Public Sub New (id As String, primaryText As String, secondaryText As String, lightModeIcon As Uri, darkModeIcon As Uri)

Parameters

id
String

Platform::String

winrt::hstring

A required unique identifier for the announcement.

primaryText
String

Platform::String

winrt::hstring

The required primary text for the announcement.

secondaryText
String

Platform::String

winrt::hstring

The required secondary text for the announcement.

lightModeIcon
Uri Uri

The required icon URI for the light mode OS theme.

darkModeIcon
Uri Uri

The required icon URI for the dark mode OS theme.

Applies to