PartialViewResult Class
Represents a base class that is used to send a partial view to the response.
System.Object
System.Web.Mvc.ActionResult
System.Web.Mvc.ViewResultBase
System.Web.Mvc.PartialViewResult
System.Web.Mvc.ActionResult
System.Web.Mvc.ViewResultBase
System.Web.Mvc.PartialViewResult
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The PartialViewResult type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Model | Gets the view data model. (Inherited from ViewResultBase.) |
![]() | TempData | Gets or sets the TempDataDictionary object for this result. (Inherited from ViewResultBase.) |
![]() | View | Gets or sets the IView object that is rendered to the response. (Inherited from ViewResultBase.) |
![]() | ViewBag | Gets the view bag. (Inherited from ViewResultBase.) |
![]() | ViewData | Gets or sets the view data ViewDataDictionary object for this result. (Inherited from ViewResultBase.) |
![]() | ViewEngineCollection | Gets or sets the collection of view engines that are associated with this result. (Inherited from ViewResultBase.) |
![]() | ViewName | Gets or sets the name of the view to render. (Inherited from ViewResultBase.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteResult | When called by the action invoker, renders the view to the response. (Inherited from ViewResultBase.) |
![]() | Finalize | (Inherited from Object.) |
![]() | FindView | Returns the ViewEngineResult object that is used to render the view. (Overrides ViewResultBase.FindView(ControllerContext).) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
An action result represents a command that ASP.NET performs on behalf of an action method. The PartialViewResult class implements the abstract ViewResultBase class and is used to render a partial view. This class contains methods for finding the partial view to render and for executing the result. This class also contains properties that identify the partial view to render, the name of the partial view, view data, temporary data, and a collection of view engines for the application.
Show:
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)