ContentType Property
Collapse the table of content
Expand the table of content

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.

Return to top
Show:
© 2016 Microsoft