FeedAnnouncement(String, String, String, Uri, Uri) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.