ViewPage.RenderView Method (ViewContext)


Renders the view page to the response using the specified view context.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public virtual void RenderView(
	ViewContext viewContext


Type: System.Web.Mvc.ViewContext

An object that encapsulates the information that is required in order to render the view, which includes the controller context, form context, the temporary data, and the view data for the associated view.

Return to top