FileSavePickerUI.AllowedFileTypes 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 a list of file types (extensions) that can be saved to the app that is providing the save location.
public:
property IVectorView<Platform::String ^> ^ AllowedFileTypes { IVectorView<Platform::String ^> ^ get(); };
IVectorView<winrt::hstring> AllowedFileTypes();
public IReadOnlyList<string> AllowedFileTypes { get; }
var iVectorView = fileSavePickerUI.allowedFileTypes;
Public ReadOnly Property AllowedFileTypes As IReadOnlyList(Of String)
Property Value
The list of file types that can be saved.
Remarks
As the app that provides the save location, you should use this information to filter the page your app displays and to constrain the extensions of the file names it generates.