PartialViewResult Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an ActionResult that renders a partial view to the response.
public ref class PartialViewResult : Microsoft::AspNetCore::Mvc::ActionResultpublic ref class PartialViewResult : Microsoft::AspNetCore::Mvc::ActionResult, Microsoft::AspNetCore::Mvc::IActionResult, Microsoft::AspNetCore::Mvc::Infrastructure::IStatusCodeActionResultpublic class PartialViewResult : Microsoft.AspNetCore.Mvc.ActionResultpublic class PartialViewResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResulttype PartialViewResult = class
    inherit ActionResulttype PartialViewResult = class
    inherit ActionResult
    interface IStatusCodeActionResult
    interface IActionResulttype PartialViewResult = class
    inherit ActionResult
    interface IActionResult
    interface IStatusCodeActionResultPublic Class PartialViewResult
Inherits ActionResultPublic Class PartialViewResult
Inherits ActionResult
Implements IActionResult, IStatusCodeActionResult- Inheritance
- Implements
Constructors
| PartialViewResult() | 
Properties
| ContentType | Gets or sets the Content-Type header for the response. | 
| Model | Gets the view data model. | 
| StatusCode | Gets or sets the HTTP status code. | 
| TempData | Gets or sets the ITempDataDictionary used for rendering the view for this result. | 
| ViewData | Gets or sets the ViewDataDictionary used for rendering the view for this result. | 
| ViewEngine | Gets or sets the IViewEngine used to locate views. | 
| ViewName | Gets or sets the name or path of the partial view that is rendered to the response. | 
Methods
| ExecuteResult(ActionContext) | Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method.(Inherited from ActionResult) | 
| ExecuteResultAsync(ActionContext) | Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. |