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:
virtual void Render(
	ViewContext^ viewContext, 
	TextWriter^ writer
) sealed

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 nullptr.

SInvalidOperationException

An instance of the view type could not be created.

Show: