AllowedFileTypes | allowedFileTypes property

FileSavePickerUI.AllowedFileTypes | allowedFileTypes property

Gets a list of file types (extensions) that can be saved to the app that is providing the save location.

Syntax


public IReadOnlyList<string> AllowedFileTypes { get; }

Property value

Type: IVectorView<String> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<String> [.NET]

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Pickers.Provider
Windows::Storage::Pickers::Provider [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Pickers.Provider
Windows::Storage::Pickers::Provider [C++]

Metadata

Windows.winmd

See also

FileSavePickerUI class

 

 

Show:
© 2016 Microsoft