ToastNotification.Tag Property
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.
public:
property Platform::String ^ Tag { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Tag();
void Tag(winrt::hstring value);
public string Tag { get; set; }
var string = toastNotification.tag;
toastNotification.tag = string;
Public Property Tag As String
Property Value
Gets or sets the unique identifier of this notification within the notification Group.
Remarks
This API returns an exception if the property is set to null
or the empty string.
The tag can be maximum 16 characters long. However, the Creators Update (15063) extends this limit to 64 characters.