FileSavePickerUI.AllowedFileTypes | allowedFileTypes property

Applies to Windows and Windows Phone

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

Syntax


var allowedFileTypes = fileSavePickerUI.allowedFileTypes;

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

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:
© 2014 Microsoft