PartialViewResult PartialViewResult PartialViewResult Class

Definition

Represents a base class that is used to send a partial view to the response.

public class PartialViewResult : System.Web.Mvc.ViewResultBase
type PartialViewResult = class
    inherit ViewResultBase
Public Class PartialViewResult
Inherits ViewResultBase
Inheritance

Constructors

PartialViewResult() PartialViewResult() PartialViewResult()

Initializes a new instance of the PartialViewResult class.

Methods

ExecuteResult(ControllerContext) ExecuteResult(ControllerContext) ExecuteResult(ControllerContext)

When called by the action invoker, renders the view to the response.

(Inherited from ViewResultBase)
FindView(ControllerContext) FindView(ControllerContext) FindView(ControllerContext)

Returns the ViewEngineResult object that is used to render the view.

Properties

Model Model Model

Gets the view data model.

(Inherited from ViewResultBase)
TempData TempData TempData

Gets or sets the TempDataDictionary object for this result.

(Inherited from ViewResultBase)
View View View

Gets or sets the IView object that is rendered to the response.

(Inherited from ViewResultBase)
ViewBag ViewBag ViewBag

Gets the view bag.

(Inherited from ViewResultBase)
ViewData ViewData ViewData

Gets or sets the view data ViewDataDictionary object for this result.

(Inherited from ViewResultBase)
ViewEngineCollection ViewEngineCollection ViewEngineCollection

Gets or sets the collection of view engines that are associated with this result.

(Inherited from ViewResultBase)
ViewName ViewName ViewName

Gets or sets the name of the view to render.

(Inherited from ViewResultBase)

Applies to