QueryOptions.SaveToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
virtual Platform::String ^ SaveToString() = SaveToString;
winrt::hstring SaveToString();
public string SaveToString();
function saveToString()
Public Function SaveToString () As String
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.