Export (0) Print
Expand All

ContentResult.ContentType Property

.NET Framework 4

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:
© 2014 Microsoft