Jaa


FileSavePicker.DefaultFileExtension Property

Definition

Important

Do not use this property. Use the FileTypeChoices property instead. The default file extension is set by the first file type in the first file type group in FileTypeChoices.

Gets or sets the default file name extension that the fileSavePicker gives to files to be saved.

public:
 property Platform::String ^ DefaultFileExtension { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DefaultFileExtension();

void DefaultFileExtension(winrt::hstring value);
public string DefaultFileExtension { get; set; }
var string = fileSavePicker.defaultFileExtension;
fileSavePicker.defaultFileExtension = string;
Public Property DefaultFileExtension As String

Property Value

String

Platform::String

winrt::hstring

The default file name extension.

Applies to

See also