ToastCollection(String, String, String, 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.
Creates a new toast notification group.
public:
ToastCollection(Platform::String ^ collectionId, Platform::String ^ displayName, Platform::String ^ launchArgs, Uri ^ iconUri);
ToastCollection(winrt::hstring const& collectionId, winrt::hstring const& displayName, winrt::hstring const& launchArgs, Uri const& iconUri);
public ToastCollection(string collectionId, string displayName, string launchArgs, System.Uri iconUri);
function ToastCollection(collectionId, displayName, launchArgs, iconUri)
Public Sub New (collectionId As String, displayName As String, launchArgs As String, iconUri As Uri)
Parameters
- collectionId
-
String
Platform::String
winrt::hstring
The ID of the group. You can use the ID to manipulate the group with a ToastCollectionManager
- displayName
-
String
Platform::String
winrt::hstring
The title of group to display in the Action Center.
- launchArgs
-
String
Platform::String
winrt::hstring
The launch arguments that are passed to the app when the user clicks the notification group title in the Action Center.