ViewResultBase Properties

The ViewResultBase type exposes the following members.

  Name Description
Public property Model Gets the view data model.
Public property TempData Gets or sets the TempDataDictionary object for this result.
Public property View Gets or sets the IView object that is rendered to the response.
Public property ViewBag Gets the view bag.
Public property ViewData Gets or sets the view data ViewDataDictionary object for this result.
Public property ViewEngineCollection Gets or sets the collection of view engines that are associated with this result.
Public property ViewName Gets or sets the name of the view to render.