مشاركة عبر


FileOpenPicker.SuggestedStartLocation Property

Definition

Gets or sets the initial location where the file open picker looks for files to present to the user.

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

Property Value

The identifier of the starting location.

Remarks

The SuggestedStartLocation is not always used as the start location for the file picker. To give the user a sense of consistency, the file picker remembers the last location that the user navigated to and will generally start at that location.

Applies to