ContentResult Class
Represents a user-defined content type that is the result of an action method.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ContentResult type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Content | Gets or sets the content. |
![]() | ContentEncoding | Gets or sets the content encoding. |
![]() | ContentType | Gets or sets the type of the content. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteResult | Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. (Overrides ActionResult::ExecuteResult(ControllerContext).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
