RazorView.RenderView Method (ViewContext, TextWriter, Object)
Renders the specified view context by using the specified writer and WebViewPage instance.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected override void RenderView( ViewContext viewContext, TextWriter writer, object instance )
Parameters
- viewContext
-
Type:
System.Web.Mvc.ViewContext
The view context.
- writer
-
Type:
System.IO.TextWriter
The writer that is used to render the view to the response.
- instance
-
Type:
System.Object
The WebViewPage instance.
Show: