Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Controller.View Method

Creates a ViewResult object that renders a view to the response.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Protected method View() Creates a ViewResult object that renders a view to the response.
Protected method View(Object) Creates a ViewResult object by using the model that renders a view to the response.
Protected method View(String) Creates a ViewResult object by using the view name that renders a view.
Protected method View(IView) Creates a ViewResult object that renders the specified IView object.
Protected method View(String, Object) Creates a ViewResult object that renders the specified IView object.
Protected method View(String, String) Creates a ViewResult object using the view name and master-page name that renders a view to the response.
Protected method View(IView, Object) Creates a ViewResult object that renders the specified IView object.
Protected method View(String, String, Object) Creates a ViewResult object using the view name, master-page name, and model that renders a view.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.