Share via


FolderPicker.SuggestedStartFolder Property

Definition

Gets or sets the suggested start folder that the folder picker dialog displays when it opens.

public:
 property Platform::String ^ SuggestedStartFolder { Platform::String ^ get(); void set(Platform::String ^ value); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
/// [set: Windows.Foundation.Metadata.Experimental]
winrt::hstring SuggestedStartFolder();

void SuggestedStartFolder(winrt::hstring value);
[Windows.Foundation.Metadata.Experimental]
public string SuggestedStartFolder { [Windows.Foundation.Metadata.Experimental] get; [Windows.Foundation.Metadata.Experimental] set; }
var string = folderPicker.suggestedStartFolder;
folderPicker.suggestedStartFolder = string;
Public Property SuggestedStartFolder As String

Property Value

String

Platform::String

winrt::hstring

A string representing the path of the suggested start folder.

Attributes

Remarks

Once the user has picked from a directory, SuggestedStartFolder will be silently ignored. Takes precedence over SuggestedStartLocation when both defined. If this folder is not found, falls back to SuggestedStartLocation.

Applies to

See also