ToastCollection.Id 属性

定义

获取此通知组的 ID。

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string = toastCollection.id;
Public ReadOnly Property Id As String

属性值

String

Platform::String

winrt::hstring

注解

通过存储通知组的 ID,可以在以后使用 ToastCollectionManager 对其进行操作。

适用于