Share via


ToastNotification.RemoteId 屬性

定義

取得或設定通知的遠端識別碼,可讓系統將此通知與另一個裝置上產生的另一個通知相互關聯。

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

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

屬性值

String

Platform::String

winrt::hstring

通知的遠端識別碼,可讓系統將此通知與其他裝置上產生的另一個通知相互關聯。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於