JsonResult.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)

public string ContentType { get; set; }

Property Value

Type: System.String
The type of the content.

Community Additions

ADD
Show: