AppWindow.PersistedStateId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a string that identifies this window 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 = appWindow.persistedStateId;
appWindow.persistedStateId = string;
Public Property PersistedStateId As String
Property Value
A string that identifies this window for tracking and saving state.
Remarks
This identifier is used by the shell when the window moves or changes size so that the system can recreate a window with the same experience at a later time or in another session.