Partager via


FileContentResult.FileContents Property

The binary content to send to the response.

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

Syntax

'Declaration
Public Property FileContents As Byte()
    Get
    Private Set
public byte[] FileContents { get; private set; }
public:
property array<unsigned char>^ FileContents {
    array<unsigned char>^ get ();
    private: void set (array<unsigned char>^ value);
}

Property Value

Type: System.Byte[]
The file contents.

See Also

Reference

FileContentResult Class

System.Web.Mvc Namespace