FileResult Constructor

Visual Studio 2010

Initializes a new instance of the FileResult class.

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

'Declaration
Protected Sub New ( _
	contentType As String _
)

Parameters

contentType
Type: System.String
The type of the content.

ExceptionCondition
ArgumentException

The contentType parameter is Nothing or empty.

Community Additions

ADD
Show: