FileSavePicker.DefaultFileExtension Property


Do not use this property. Use the FileTypeChoices property instead. Gets or sets the default file name extension that the fileSavePicker gives to files to be saved.

 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


The default file name extension.

Applies to

See also