Edit

Share via


RoamingObjectStorageHelper(IObjectSerializer) Constructor

Definition

Initializes a new instance of the RoamingObjectStorageHelper class, which can read and write data using the provided IObjectSerializer; In 6.1 and older the default Serializer was based on Newtonsoft.Json. To implement an IObjectSerializer based on System.Text.Json, Newtonsoft.Json, or DataContractJsonSerializer see https://aka.ms/wct/storagehelper-migration

public RoamingObjectStorageHelper (Microsoft.Toolkit.Uwp.Helpers.IObjectSerializer objectSerializer = default);
public RoamingObjectStorageHelper (Microsoft.Toolkit.Uwp.Helpers.IObjectSerializer objectSerializer);
new Microsoft.Toolkit.Uwp.Helpers.RoamingObjectStorageHelper : Microsoft.Toolkit.Uwp.Helpers.IObjectSerializer -> Microsoft.Toolkit.Uwp.Helpers.RoamingObjectStorageHelper
Public Sub New (Optional objectSerializer As IObjectSerializer = Nothing)
Public Sub New (objectSerializer As IObjectSerializer)

Parameters

objectSerializer
IObjectSerializer

The serializer to use.

Applies to