Windows Dev Center

FileOpenPicker.SuggestedStartLocation | suggestedStartLocation property

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

Syntax


var suggestedStartLocation = fileOpenPicker.suggestedStartLocation;
fileOpenPicker.suggestedStartLocation = suggestedStartLocation;

Property value

Type: PickerLocationId

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.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Pickers
Windows::Storage::Pickers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Pickers
Windows::Storage::Pickers [C++]

Metadata

Windows.winmd

See also

FileOpenPicker

 

 

Show:
© 2015 Microsoft