Delen via


ViewPage.RenderView Method

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)

Syntax

'Declaration
Public Overridable Sub RenderView ( _
    viewContext As ViewContext _
)
public virtual void RenderView(
    ViewContext viewContext
)
public:
virtual void RenderView(
    ViewContext^ viewContext
)

Parameters

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

See Also

Reference

ViewPage Class

System.Web.Mvc Namespace