IHttpResponseStreamWriterFactory.CreateWriter(Stream, Encoding) Metoda

Definice

Vytvoří nový objekt 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

Parametry

stream
Stream

Obvykle .StreamBody

encoding
Encoding

Obvykle .EncodingUTF8

Návraty

Úloha TextWriter.

Platí pro