FileOpenPicker.CreateForUser(User) FileOpenPicker.CreateForUser(User) FileOpenPicker.CreateForUser(User) FileOpenPicker.CreateForUser(User) FileOpenPicker.CreateForUser(User) Method

Definition

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

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

Parameters

user
User User User

The user for which to create the FileOpenPicker.

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