Gets the collection of file types that the folder picker displays.
Syntax
var fileTypeFilter = folderPicker.fileTypeFilter;
Property value
Type: IVector<String> [JavaScript/C++] | System.Collections.Generic.IList<String> [.NET]
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.
Examples
The File picker sample demonstrates how to show files of any type in the file picker.
var folderPicker = new Windows.Storage.Pickers.FolderPicker(); folderPicker.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.desktop; folderPicker.fileTypeFilter.replaceAll(["*"]);
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013