FileSavePicker.DefaultFileExtension | defaultFileExtension property

Applies to Windows and Windows Phone

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

Syntax


public string DefaultFileExtension { get; set; }

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The default file name extension.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Pickers
Windows::Storage::Pickers [C++]

Metadata

Windows.winmd

See also

FileSavePicker class

 

 

Show:
© 2014 Microsoft