Home
Library
Learn
Downloads
Support
Community
Sign in
|
United States - English
|
|
MSDN Library
Web Development
ASP.NET
ASP.NET MVC 2
ASP.NET MVC Reference
System.Web.Mvc
JsonResult Class
JsonResult Properties
ContentEncoding Property
ContentType Property
Data Property
JsonRequestBehavior Property
Community Content
Add code samples and tips to enhance this topic.
More...
0 out of 3 rated this helpful
-
Rate this topic
JsonResult
.
ContentType Property
.NET Framework 4
Other Versions
.NET Framework 3.5
Gets or sets the type of the content.
Namespace:
System.Web.Mvc
Assembly:
System.Web.Mvc
(in System.Web.Mvc.dll)
Syntax
C#
C++
VB
Copy
public
string
ContentType {
get
;
set
; }
Property Value
Type:
System
.
String
The type of the content.
See Also
Reference
JsonResult Class
System.Web.Mvc Namespace
Did you find this helpful?
Yes
No
Not accurate
Not enough depth
Need more code examples
Tell us more...
(
1500
characters remaining)
Community Content
Add
FAQ