-api-id | -api-type |
---|---|
M:Windows.Storage.Search.QueryOptions.SaveToString |
winrt method |
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.
A string representing the serialized settings of a QueryOptions instance.
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.