JsonResult.ContentType Property

 

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.

Return to top
Show: