Freigeben über


IHttpResponseStreamWriterFactory.CreateWriter(Stream, Encoding) Methode

Definition

Erstellt einen neuen 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

Parameter

stream
Stream

Die Stream, in der Regel Body.

encoding
Encoding

Die Encoding, in der Regel UTF8.

Gibt zurück

Ein TextWriter.

Gilt für: