Udostępnij za pośrednictwem


IHttpRequestStreamReaderFactory.CreateReader(Stream, Encoding) Metoda

Definicja

Tworzy nowy adres 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

, Streamzwykle Body.

encoding
Encoding

, Encodingzwykle UTF8.

Zwraca

Klasa TextReader.

Dotyczy