Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Note: This API is now obsolete.
Sets the text writer that is used to render the view to the response.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
<ObsoleteAttribute("The TextWriter is now provided by the ViewContext object passed to the RenderView method.", _
True)> _
Public Sub SetTextWriter ( _
textWriter As TextWriter _
)
[ObsoleteAttribute("The TextWriter is now provided by the ViewContext object passed to the RenderView method.",
true)]
public void SetTextWriter(
TextWriter textWriter
)
[ObsoleteAttribute(L"The TextWriter is now provided by the ViewContext object passed to the RenderView method.",
true)]
public:
void SetTextWriter(
TextWriter^ textWriter
)
Parameters
- textWriter
Type: System.IO.TextWriter
The writer that is used to render the view to the response.
Remarks
To retrieve the text writer object, use the Writer property.