This topic has not yet been rated - Rate this topic

ViewResult Properties

The ViewResult type exposes the following members.

  Name Description
Public property MasterName Gets the name of the master view (such as a master page or template) to use when the view is rendered.
Public property TempData Gets or sets the TempDataDictionary object for this result. (Inherited from ViewResultBase.)
Public property View Gets or sets the IView object that is rendered to the response. (Inherited from ViewResultBase.)
Public property ViewData Gets or sets the view data ViewDataDictionary object for this result. (Inherited from ViewResultBase.)
Public property ViewEngineCollection Gets or sets the collection of view engines that are associated with this result. (Inherited from ViewResultBase.)
Public property ViewName Gets or sets the name of the view to render. (Inherited from ViewResultBase.)
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ