Share via


ToastNotification.Group 屬性

定義

取得或設定通知的群組識別碼。

public:
 property Platform::String ^ Group { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Group();

void Group(winrt::hstring value);
public string Group { get; set; }
var string = toastNotification.group;
toastNotification.group = string;
Public Property Group As String

屬性值

String

Platform::String

winrt::hstring

通知的群組識別碼。

備註

在舊版 Windows 中,group 屬性長度上限為 16 個字元。 不過,在 Creators Update (15063) 中,上限已增加到 64 個字元。

適用於