Condividi tramite


ViewPage.SetTextWriter(TextWriter) Metodo

Definizione

Attenzione

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

Nota: questa API è ora obsoleta. Imposta il writer di testo usato per eseguire il rendering della visualizzazione alla risposta.

[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)

Parametri

textWriter
TextWriter

Writer utilizzato per il rendering della visualizzazione nella risposta.

Attributi

Si applica a