Export (0) Print
Expand All
0 out of 4 rated this helpful - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.