Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FileAttachmentController.Download(Object) Method

Downloads a file attached to the specified object.

Namespace: DevExpress.ExpressApp.FileAttachments.Web

Assembly: DevExpress.ExpressApp.FileAttachment.Web.v24.2.dll

NuGet Package: DevExpress.ExpressApp.FileAttachment.Web

#Declaration

public virtual void Download(
    object obj
)

#Parameters

Name Type Description
obj Object

An object that has an IFileData property storing the file to be downloaded.

#Remarks

A type of object passed to the Download method should have the FileAttachmentAttribute applied in its declaration. A FileDataDownloader object is used to download a file.

See Also