ToastCollection ToastCollection ToastCollection ToastCollection ToastCollection Class

Definition

Represents a group of notifications for a particular app.

public : sealed class ToastCollection
struct winrt::Windows::UI::Notifications::ToastCollection
public sealed class ToastCollection
Public NotInheritable Class ToastCollection
var toastCollection = new toastCollection(collectionId, displayName, launchArgs, iconUri);
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

Use a ToastCollectionManager to save, update, and remove ToastCollection objects.

Constructors

ToastCollection(String, String, String, Uri) ToastCollection(String, String, String, Uri) ToastCollection(String, String, String, Uri) ToastCollection(String, String, String, Uri) ToastCollection(String, String, String, Uri)

Creates a new toast notification group.

Properties

DisplayName DisplayName DisplayName DisplayName DisplayName

Gets or sets the group title that displays in the Action Center.

Icon Icon Icon Icon Icon

Gets or sets the icon that displays next to the group title in the Action Center.

Id Id Id Id Id

Gets the ID of this notification group.

LaunchArgs LaunchArgs LaunchArgs LaunchArgs LaunchArgs

Gets or sets the launch arguments provided to app when the notification group title is clicked in the Action Center.

See also