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)
'Declaration Public Sub Render ( _ viewContext As ViewContext, _ writer As TextWriter _ ) 'Usage Dim instance As BuildManagerCompiledView Dim viewContext As ViewContext Dim writer As TextWriter instance.Render(viewContext, writer)
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 Nothing. |
| SInvalidOperationException | An instance of the view type could not be created. |
Show: