QueryOptions.SaveToString QueryOptions.SaveToString QueryOptions.SaveToString QueryOptions.SaveToString QueryOptions.SaveToString Method

Definition

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.

public : Platform::String SaveToString()
winrt::hstring SaveToString() const;
public string SaveToString()
Public Function SaveToString() As string
var string = queryOptions.saveToString();

Returns

string string string

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.

See also