FileSavePicker.CreateForUser(User) Method

Definition

Creates a FileSavePicker that is scoped to the personal directory of the specified user. Use this method for multi-user applications.

public:
 static FileSavePicker ^ CreateForUser(User ^ user);
 static FileSavePicker CreateForUser(User const& user);
public static FileSavePicker CreateForUser(User user);
function createForUser(user)
Public Shared Function CreateForUser (user As User) As FileSavePicker

Parameters

user
User

The user for which to create the FileSavePicker.

Returns

FileSavePicker

The new FileSavePicker that was created.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to

See also