FileOpenPicker.SuggestedStartLocation 屬性

定義

取得或設定檔案開啟選擇器尋找要呈現給使用者之檔案的初始位置。

public:
 property PickerLocationId SuggestedStartLocation { PickerLocationId get(); void set(PickerLocationId value); };
PickerLocationId SuggestedStartLocation();

void SuggestedStartLocation(PickerLocationId value);
public PickerLocationId SuggestedStartLocation { get; set; }
var pickerLocationId = fileOpenPicker.suggestedStartLocation;
fileOpenPicker.suggestedStartLocation = pickerLocationId;
Public Property SuggestedStartLocation As PickerLocationId

屬性值

起始位置的識別碼。

備註

SuggestedStartLocation 不一定做為檔案選擇器的開始位置。 為了讓使用者瞭解一致性,檔案選擇器會記住使用者流覽到的最後一個位置,而且通常會從該位置開始。

適用於