Skip to main content
A newer version of this page is available. .

SpreadsheetExtension.DownloadFile(String) Method

OBSOLETE

This method is now obsolete.

Returns the binary content of the file downloaded from the specified Spreadsheet.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

[Obsolete("This method is now obsolete.")]
public static FileStreamResult DownloadFile(
    string extensionName
)

Parameters

Name Type Description
extensionName String

A String value that specifies the Spreadsheet extension name.

Returns

Type Description
FileStreamResult

A FileStreamResult object that is a binary content sent in response.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DownloadFile(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also