Partager via


FilePathResult.FileName Property

Gets or sets the path of the file that is sent to the response.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property FileName As String
    Get
    Private Set
public string FileName { get; private set; }
public:
property String^ FileName {
    String^ get ();
    private: void set (String^ value);
}

Property Value

Type: System.String
The path of the file that is sent to the response.

See Also

Reference

FilePathResult Class

System.Web.Mvc Namespace