ApplicationDataStorageHelper.GetForUserAsync(User, IObjectSerializer) 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.
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.