FolderPicker.CreateForUser(User) FolderPicker.CreateForUser(User) FolderPicker.CreateForUser(User) FolderPicker.CreateForUser(User) FolderPicker.CreateForUser(User) Method

Definition

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

public : static FolderPicker CreateForUser(User user)
static FolderPicker CreateForUser(User user) const;
public static FolderPicker CreateForUser(User user)
Public Shared Function CreateForUser(user As User) As FolderPicker
var folderPicker = Windows.Storage.Pickers.FolderPicker.createForUser(user);

Parameters

user
User User User

The user for which to create the FolderPicker.

Returns

Additional features and requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)

See also