Partager via


IHttpRequestStreamReaderFactory.CreateReader(Stream, Encoding) Méthode

Définition

Crée un 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

Paramètres

stream
Stream

, Streamgénéralement Body.

encoding
Encoding

, Encodinggénéralement UTF8.

Retours

TextReader

S’applique à