Export (0) Print
Expand All

ViewResult Members

Represents a class that is used to render a view by using an IView instance that is returned by an IViewEngine object.

The ViewResult type exposes the following members.

  NameDescription
Public method ViewResult Initializes a new instance of the ViewResult class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExecuteResult When called by the action invoker, renders the view to the response. (Inherited from ViewResultBase.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method FindView Searches the registered view engines and returns the object that is used to render the view. (Overrides ViewResultBase.FindView(ControllerContext).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Top

  NameDescription
Public property MasterName 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

Community Additions

Show:
© 2015 Microsoft