Sdílet prostřednictvím


IHttpRequestStreamReaderFactory.CreateReader(Stream, Encoding) Metoda

Definice

Vytvoří nový objekt TextReader.

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

Parametry

stream
Stream

Obvykle .StreamBody

encoding
Encoding

Obvykle .EncodingUTF8

Návraty

Úloha TextReader.

Platí pro