ContentResult.ContentType Property

Visual Studio 2010

Gets or sets the type of the content.

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

'Declaration
Public Property ContentType As String
	Get
	Set

Property Value

Type: System.String
The type of the content.

Community Additions

ADD
Show: