ContentResult Class
Represents a user-defined content type that is the result of an action method.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | ContentResult() | Initializes a new instance of the ContentResult class. |
| 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(Object^) | (Inherited from Object.) |
![]() | ExecuteResult(ControllerContext^) | 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.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
.jpeg?cs-save-lang=1&cs-lang=cpp)
.jpeg?cs-save-lang=1&cs-lang=cpp)
.jpeg?cs-save-lang=1&cs-lang=cpp)