RazorView.RenderView(ViewContext, TextWriter, Object) Method

Definition

Renders the specified view context by using the specified writer and WebViewPage instance.

protected override void RenderView (System.Web.Mvc.ViewContext viewContext, System.IO.TextWriter writer, object instance);
override this.RenderView : System.Web.Mvc.ViewContext * System.IO.TextWriter * obj -> unit
Protected Overrides Sub RenderView (viewContext As ViewContext, writer As TextWriter, instance As Object)

Parameters

viewContext
ViewContext

The view context.

writer
TextWriter

The writer that is used to render the view to the response.

instance
Object

The WebViewPage instance.

Applies to