FileResult.FileDownloadName Property

Definition

Gets or sets the content-disposition header so that a file-download dialog box is displayed in the browser with the specified file name.

public string FileDownloadName { get; set; }
member this.FileDownloadName : string with get, set
Public Property FileDownloadName As String

Property Value

The name of the file.

Applies to