BuildManagerCompiledView.Render(ViewContext, TextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders the specified view context by using the specified the writer object.
public virtual void Render(System.Web.Mvc.ViewContext viewContext, System.IO.TextWriter writer);
abstract member Render : System.Web.Mvc.ViewContext * System.IO.TextWriter -> unit
override this.Render : System.Web.Mvc.ViewContext * System.IO.TextWriter -> unit
Public Overridable Sub Render (viewContext As ViewContext, writer As TextWriter)
Parameters
- viewContext
- ViewContext
Information related to rendering a view, such as view data, temporary data, and form context.
- writer
- TextWriter
The writer object.
Implements
Exceptions
The viewContext
parameter is null.
An instance of the view type could not be created.