ViewPage.RenderView(ViewContext) ViewPage.RenderView(ViewContext) Method


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

public virtual void RenderView (System.Web.Mvc.ViewContext viewContext);
abstract member RenderView : System.Web.Mvc.ViewContext -> unit
override this.RenderView : System.Web.Mvc.ViewContext -> unit


ViewContext 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.

Applies to