Edit

Share via


ApplicationDataStorageHelper.GetForUserAsync(User, IObjectSerializer) Method

Definition

Get a new instance using the ApplicationData for the provided user and serializer.

public static System.Threading.Tasks.Task<Microsoft.Toolkit.Uwp.Helpers.ApplicationDataStorageHelper> GetForUserAsync (Windows.System.User user, Microsoft.Toolkit.Helpers.IObjectSerializer? objectSerializer = default);
static member GetForUserAsync : Windows.System.User * Microsoft.Toolkit.Helpers.IObjectSerializer -> System.Threading.Tasks.Task<Microsoft.Toolkit.Uwp.Helpers.ApplicationDataStorageHelper>
Public Shared Function GetForUserAsync (user As User, Optional objectSerializer As IObjectSerializer = Nothing) As Task(Of ApplicationDataStorageHelper)

Parameters

user
Windows.System.User

App data user owner.

objectSerializer
IObjectSerializer

Serializer for converting stored values. Defaults to SystemSerializer.

Returns

A new instance of ApplicationDataStorageHelper.

Applies to