FileSavePicker.DefaultFileExtension Property

Definition

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.

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

The default file name extension.

Applies to

See also