FileAttachmentController.Download(Object) Method

Downloads a file attached to the specified object.

Namespace: DevExpress.ExpressApp.FileAttachments.Web

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

Declaration

public virtual void Download(
    object obj
)
Public Overridable Sub Download(
    obj As Object
)

Parameters

Type Name Description
Object obj

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