WebFormView.Render Method

Visual Studio 2010

Renders the specified view context by using the specified writer for rendering the view to the response.

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

'Declaration
Public Overridable Sub Render ( _
	viewContext As ViewContext, _
	writer As TextWriter _
)

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.

Implements

IView.Render(ViewContext, TextWriter)

ExceptionCondition
ArgumentNullException

The viewContext parameter is Nothing (Nothing in Visual Basic).

InvalidOperationException

An error occurred while attempting to render the view.

Community Additions

ADD
Show: