語言

FolderPicker.CreateForUser(User) 方法

定義

建立 FolderPicker ,範圍設定為指定使用者的個人目錄。 針對 多使用者應用程式使用這個方法。

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

參數

user
User

要為其建立 FolderPicker的使用者。

傳回

已建立的新 FolderPicker 。

Windows 需求

規格需求 Description
裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

適用於

另請參閱