FileSavePicker.DefaultFileExtension Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The default file name extension.