Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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.

Specifies the default file extension, which will be appended after the default file name. If it's not specified, nothing will be appended after the default file name.

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

Gets or sets the default file extension for the file picker.

Applies to


Feedback

Was this page helpful?