Share via


ApplicationView.PersistedStateId 屬性

定義

取得或設定字串,識別此檢視以進行追蹤和儲存狀態。

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

void PersistedStateId(winrt::hstring value);
public string PersistedStateId { get; set; }
var string = applicationView.persistedStateId;
applicationView.persistedStateId = string;
Public Property PersistedStateId As String

屬性值

String

Platform::String

winrt::hstring

識別此檢視的字串,用於追蹤和儲存狀態。

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

適用於