EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

FileSavePicker.FileTypeChoices | fileTypeChoices property

Applies to Windows and Windows Phone

Gets the collection of valid file types that the user can choose to assign to a file.

Syntax


public:
property IMap<String, IVector>^ FileTypeChoices { 
   IMap<String, IVector>^ get();
}

Property value

Type: IMap<String, IVector> [JavaScript/C++] | System.Collections.Generic.IDictionary<String, IVector> [.NET]

A filePickerFileTypesOrderedMap object that contains a collection of valid file types (extensions) that the user can use to save a file. Each element in this collection maps a display name to a corresponding collection of file name extensions.

Remarks

Some apps do not need to understand a file format in order to process it - such as a cloud storage provider. Therefore, using the file wildcard character - "*" - is supported for the FileOpenPicker.FileTypeFilter collection. However, writing a file requires knowledge of its format. As a result, the wildcard is not supported for FileSavePicker.FileTypeChoices.

Examples

The File picker sample demonstrates how to add file type choices with a display name.

Nenhum exemplo de código está disponível no momento ou este idioma talvez não seja suportado.

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
Windows::Storage::Pickers [C++]

Metadata

Windows.winmd

See also

File picker sample
FileSavePicker class

 

 

Mostrar:
© 2015 Microsoft