FileOpenPicker.CreateForUser(User) 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.
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 const& user);
public static FileOpenPicker CreateForUser(User user);
function createForUser(user)
Public Shared Function CreateForUser (user As User) As FileOpenPicker
Parameters
- user
- User
The user for which to create the FileOpenPicker.
Returns
The new FileOpenPicker 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)
|