Partager via


IHttpResponseStreamWriterFactory.CreateWriter(Stream, Encoding) Méthode

Définition

Crée un TextWriter.

public:
 System::IO::TextWriter ^ CreateWriter(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding);
public System.IO.TextWriter CreateWriter (System.IO.Stream stream, System.Text.Encoding encoding);
abstract member CreateWriter : System.IO.Stream * System.Text.Encoding -> System.IO.TextWriter
Public Function CreateWriter (stream As Stream, encoding As Encoding) As TextWriter

Paramètres

stream
Stream

, Streamgénéralement Body.

encoding
Encoding

, Encodinggénéralement UTF8.

Retours

TextWriter

S’applique à