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)
abstract Render : viewContext:ViewContext * writer:TextWriter -> unit override Render : viewContext:ViewContext * writer:TextWriter -> unit
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)| Exception | Condition |
|---|---|
| ArgumentNullException | The viewContext parameter is a null reference (Nothing in Visual Basic). |
| SInvalidOperationException | An instance of the view type could not be created. |
Show: