FolderPicker.FileTypeFilter 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 the collection of file types that the folder picker displays.
public:
property IVector<Platform::String ^> ^ FileTypeFilter { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> FileTypeFilter();
public IList<string> FileTypeFilter { get; }
var iVector = folderPicker.fileTypeFilter;
Public ReadOnly Property FileTypeFilter As IList(Of String)
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.
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("*");
Applies to
See also
Feedback
Submit and view feedback for