FolderPicker.SuggestedStartFolder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.