Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 784 Bytes

applicationview_clearpersistedstate_1748712406.md

File metadata and controls

29 lines (18 loc) · 784 Bytes
-api-id -api-type ms.custom
M:Windows.UI.ViewManagement.ApplicationView.ClearPersistedState(System.String)
winrt method
19H1

Windows.UI.ViewManagement.ApplicationView.ClearPersistedState

-description

Clears any properties the system has saved for the view with the specified identifier for the given application.

-parameters

-param key

The PersistedStateId for the view to be cleared.

-remarks

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

-see-also

-examples