BuildManagerCompiledView.Render Method

Renders the specified view context by using the specified the writer object.

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

public final function Render(
	viewContext : ViewContext, 
	writer : TextWriter
)

Parameters

viewContext
Type: System.Web.Mvc.ViewContext

Information related to rendering a view, such as view data, temporary data, and form context.

writer
Type: System.IO.TextWriter

The writer object.

Implements

IView.Render(ViewContext, TextWriter)

ExceptionCondition
ArgumentNullException

The viewContext parameter is a null reference (Nothing in Visual Basic).

SInvalidOperationException

An instance of the view type could not be created.

Show: