C# Class System.IO.StreamReader

Inheritance: TextReader
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Свойство Type Description
Null StreamReader

Private Properties

Свойство Type Description
CheckAsyncTaskInProgress void
CompressBuffer void
DetectEncoding void
Init void
Init void
IsPreamble bool
Peek int
ReadAsyncInternal Task
ReadBuffer int
ReadBuffer int
ReadBufferAsync Task
ReadLineAsyncInternal Task
ReadToEndAsyncInternal Task
StreamReader System.Text

Méthodes publiques

Méthode Description
Close ( ) : void
DiscardBufferedData ( ) : void
Read ( ) : int
Read ( char buffer, int index, int count ) : int
ReadAsync ( char buffer, int index, int count ) : Task
ReadBlock ( char buffer, int index, int count ) : int
ReadBlockAsync ( char buffer, int index, int count ) : Task
ReadLine ( ) : string
ReadLineAsync ( ) : Task
ReadToEnd ( ) : string
ReadToEndAsync ( ) : Task
StreamReader ( Stream stream ) : System.Text
StreamReader ( Stream stream, Encoding encoding ) : System.Text
StreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks ) : System.Text
StreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize ) : System.Text
StreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen ) : System.Text
StreamReader ( Stream stream, bool detectEncodingFromByteOrderMarks ) : System.Text
StreamReader ( string path ) : System.Text
StreamReader ( string path, Encoding encoding ) : System.Text
StreamReader ( string path, Encoding encoding, bool detectEncodingFromByteOrderMarks ) : System.Text
StreamReader ( string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize ) : System.Text
StreamReader ( string path, bool detectEncodingFromByteOrderMarks ) : System.Text

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CheckAsyncTaskInProgress ( ) : void
CompressBuffer ( int n ) : void
DetectEncoding ( ) : void
Init ( Stream stream ) : void
Init ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen ) : void
IsPreamble ( ) : bool
Peek ( ) : int
ReadAsyncInternal ( char buffer, int index, int count ) : Task
ReadBuffer ( ) : int
ReadBuffer ( char userBuffer, int userOffset, int desiredChars, bool &readToUserBuffer ) : int
ReadBufferAsync ( ) : Task
ReadLineAsyncInternal ( ) : Task
ReadToEndAsyncInternal ( ) : Task
StreamReader ( ) : System.Text

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

DiscardBufferedData() public méthode

public DiscardBufferedData ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Read() public méthode

public Read ( ) : int
Résultat int

Read() public méthode

public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
Résultat int

ReadAsync() public méthode

public ReadAsync ( char buffer, int index, int count ) : Task
buffer char
index int
count int
Résultat Task

ReadBlock() public méthode

public ReadBlock ( char buffer, int index, int count ) : int
buffer char
index int
count int
Résultat int

ReadBlockAsync() public méthode

public ReadBlockAsync ( char buffer, int index, int count ) : Task
buffer char
index int
count int
Résultat Task

ReadLine() public méthode

public ReadLine ( ) : string
Résultat string

ReadLineAsync() public méthode

public ReadLineAsync ( ) : Task
Résultat Task

ReadToEnd() public méthode

public ReadToEnd ( ) : string
Résultat string

ReadToEndAsync() public méthode

public ReadToEndAsync ( ) : Task
Résultat Task

StreamReader() public méthode

public StreamReader ( Stream stream ) : System.Text
stream Stream
Résultat System.Text

StreamReader() public méthode

public StreamReader ( Stream stream, Encoding encoding ) : System.Text
stream Stream
encoding Encoding
Résultat System.Text

StreamReader() public méthode

public StreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks ) : System.Text
stream Stream
encoding Encoding
detectEncodingFromByteOrderMarks bool
Résultat System.Text

StreamReader() public méthode

public StreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize ) : System.Text
stream Stream
encoding Encoding
detectEncodingFromByteOrderMarks bool
bufferSize int
Résultat System.Text

StreamReader() public méthode

public StreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen ) : System.Text
stream Stream
encoding Encoding
detectEncodingFromByteOrderMarks bool
bufferSize int
leaveOpen bool
Résultat System.Text

StreamReader() public méthode

public StreamReader ( Stream stream, bool detectEncodingFromByteOrderMarks ) : System.Text
stream Stream
detectEncodingFromByteOrderMarks bool
Résultat System.Text

StreamReader() public méthode

public StreamReader ( string path ) : System.Text
path string
Résultat System.Text

StreamReader() public méthode

public StreamReader ( string path, Encoding encoding ) : System.Text
path string
encoding Encoding
Résultat System.Text

StreamReader() public méthode

public StreamReader ( string path, Encoding encoding, bool detectEncodingFromByteOrderMarks ) : System.Text
path string
encoding Encoding
detectEncodingFromByteOrderMarks bool
Résultat System.Text

StreamReader() public méthode

public StreamReader ( string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize ) : System.Text
path string
encoding Encoding
detectEncodingFromByteOrderMarks bool
bufferSize int
Résultat System.Text

StreamReader() public méthode

public StreamReader ( string path, bool detectEncodingFromByteOrderMarks ) : System.Text
path string
detectEncodingFromByteOrderMarks bool
Résultat System.Text

Property Details

Null public_oe static_oe property

public static StreamReader,System.IO Null
Résultat StreamReader