RoamingObjectStorageHelper(IObjectSerializer) Constructor
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.
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.