ChatMessage.SyncId 屬性

定義

用來跨裝置識別訊息的識別碼。 此識別碼會在建立所有訊息時產生。 在裝置之間複製訊息的用戶端也需要複製此識別碼,以唯一識別不同裝置上的相同訊息

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

void SyncId(winrt::hstring value);
public string SyncId { get; set; }
var string = chatMessage.syncId;
chatMessage.syncId = string;
Public Property SyncId As String

屬性值

String

Platform::String

winrt::hstring

取得並設定同步識別碼。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)
應用程式功能
chat chatSystem smsSend

適用於