RazorView.RenderView Method

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

abstract RenderView : 
        viewContext:ViewContext * 
        writer:TextWriter * 
        instance:Object -> unit  
override RenderView : 
        viewContext:ViewContext * 
        writer:TextWriter * 
        instance:Object -> unit

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: