WebFormView.RenderView Method
Renders the view to the response.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overrides Sub RenderView ( _
viewContext As ViewContext, _
writer As TextWriter, _
instance As Object _
)
'Usage
Dim viewContext As ViewContext
Dim writer As TextWriter
Dim instance As Object
Me.RenderView(viewContext, writer, _
instance)
protected override void RenderView(
ViewContext viewContext,
TextWriter writer,
Object instance
)
protected:
virtual void RenderView(
ViewContext^ viewContext,
TextWriter^ writer,
Object^ instance
) override
protected override function RenderView(
viewContext : ViewContext,
writer : TextWriter,
instance : Object
)
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.
- writer
Type: System.IO.TextWriter
The text writer object that is used to write HTML output.
- instance
Type: System.Object
The view page instance.