Version

DownloadExtension Property (WebDocumentExporter)

Returns the default download extension for the Format that is being exported.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property DownloadExtension As String
protected override string DownloadExtension {get;}
Remarks

Used by the GetDownloadName() method when it generates the download name from DownloadName provided by the user and when it creates a default download name.

Returns "pdf" for PDF documents, "xps" for XPS documents and "txt" for PlainText documents. Returns an empty string if the FileFormat isn't recognised.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also