ViewUserControl.SetTextWriter Method (TextWriter)
Note: This API is now obsolete.Namespace:
System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Return to top
Sets the text writer that is used to render the view to the response.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
[<ObsoleteAttribute("The TextWriter is now provided by the ViewContext object passed to the RenderView method.", true)>] member SetTextWriter : textWriter:TextWriter -> unit
Parameters
- textWriter
-
Type:
System.IO.TextWriter
The writer that is used to render the view to the response.
Show: