FileSavePickerUI.AllowedFileTypes Property

Definition

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

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

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.

Applies to

See also