-api-id | -api-type | -api-device-family-note |
---|---|---|
P:Windows.Storage.Pickers.FolderPicker.FileTypeFilter |
winrt property |
xbox |
Gets the collection of file types that the folder picker displays.
A FileExtensionVector object that contains a collection of file types (file name extensions) , such as ".doc" and ".png". File name extensions are stored in this array as string objects.
The File picker sample demonstrates how to show files of any type in the file picker.
FolderPicker folderPicker = new FolderPicker();
folderPicker.SuggestedStartLocation = PickerLocationId.Desktop;
folderPicker.FileTypeFilter.Add("*");
FolderPicker class, FileExtensionVector class, FileOpenPicker.FileTypeFilter property