Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.04 KB

queryoptions_savetostring_387853820.md

File metadata and controls

24 lines (17 loc) · 1.04 KB
-api-id -api-type
M:Windows.Storage.Search.QueryOptions.SaveToString
winrt method

Windows.Storage.Search.QueryOptions.SaveToString

-description

Converts the values of a QueryOptions object to a string that can be used to initialize the values of a QueryOptions object by calling LoadFromString.

-returns

A string representing the serialized settings of a QueryOptions instance.

-remarks

Use this method if you want to save the query options for later use. For example if you generate query options dynamically based on user input and you want to preserve these options when your app is suspended. In this case, you should also use the FutureAccessList to persist access to the folder(s) where the query was created.

-examples

-see-also

LoadFromString