Export (0) Print
Expand All

FileResult.ContentType Property

Gets the content type to use for the response.

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

public string ContentType { get; private set; }

Property Value

Type: System.String
The type of the content.
Show:
© 2014 Microsoft