ViewUserControl.SetTextWriter(TextWriter) 方法

定义

注意

The TextWriter is now provided by the ViewContext object passed to the RenderView method.

设置用于向响应呈现视图的文本编写器。

[System.Obsolete("The TextWriter is now provided by the ViewContext object passed to the RenderView method.", true)]
public void SetTextWriter (System.IO.TextWriter textWriter);
member this.SetTextWriter : System.IO.TextWriter -> unit
Public Sub SetTextWriter (textWriter As TextWriter)

参数

textWriter
TextWriter

用于向响应呈现视图的编写器。

属性

适用于