Share via


ApplicationView.PersistedStateId Property

Definition

Gets or sets a string that identifies this view for tracking and saving state.

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

Property Value

String

Platform::String

winrt::hstring

A string that identifies this view for tracking and saving state.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to