FileSavePicker.CreateForUser(User) 方法

定義

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

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

參數

user
User

要為其建立 FileSavePicker的使用者。

傳回

已建立的新 FileSavePicker

Windows 需求

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

適用於

另請參閱