Class NotificationCollection
Inheritance
System.Object
NotificationCollection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.UI.Notifications
Assembly: Microsoft.dll
Syntax
public sealed class NotificationCollection
Constructors
| Improve this Doc View SourceNotificationCollection(String, String, String, Uri)
Initializes a new notification collection with all the required properties.
Declaration
public NotificationCollection(string id, string displayName, string launchArgs, Uri iconUri)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The ID for the collection. |
| System.String | displayName | The display name of the collection. |
| System.String | launchArgs | The launch args that are passed back to your app when the collection title is clicked. |
| System.Uri | iconUri | The icon URI that is displayed for the collection. |
Properties
| Improve this Doc View SourceDisplayName
Gets or sets the display name of the collection
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IconUri
Gets or sets the icon URI that is displayed for the collection.
Declaration
public Uri IconUri { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Uri |
Id
Gets the ID of the collection.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
LaunchArgs
Gets or sets the launch args that are passed back to your app when the collection title is clicked.
Declaration
public string LaunchArgs { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |