Share 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

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

Property Value

Type: System.Byte[]

The file contents.

See Also

FileContentResult Class
System.Web.Mvc Namespace

Return to top