Delen via


AppWindow.ClearAllPersistedState Method

Definition

Clears any properties the system has saved for any window PersistedStateId for the given application.

public:
 static void ClearAllPersistedState();
 static void ClearAllPersistedState();
public static void ClearAllPersistedState();
function clearAllPersistedState()
Public Shared Sub ClearAllPersistedState ()

Remarks

If a view with a PersistedStateId still exists in the app at the time of calling this method, the system will save state for this ID when that view is updated or closed.

Applies to