Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.19 KB

folderpicker_filetypefilter.md

File metadata and controls

31 lines (23 loc) · 1.19 KB
-api-id -api-type -api-device-family-note
P:Windows.Storage.Pickers.FolderPicker.FileTypeFilter
winrt property
xbox

Windows.Storage.Pickers.FolderPicker.FileTypeFilter

-description

Gets the collection of file types that the folder picker displays.

-property-value

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.

-remarks

-examples

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("*");

-see-also

FolderPicker class, FileExtensionVector class, FileOpenPicker.FileTypeFilter property