共用方式為


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

用來將檢視呈現至回應的寫入器。

屬性

適用於