Свойство | Type | Description | |
---|---|---|---|
Readers | TextReader[] |
Свойство | Type | Description | |
---|---|---|---|
NextReader | bool |
Méthode | Description | |
---|---|---|
Close ( ) : void |
Closes the T:System.IO.TextReader and releases any system resources associated with the TextReader.
|
|
CombinedTextReader ( ) : System |
Create a new virtual TextReader by combining, in sequence, the streams provided as parameters to the constructor
|
|
CreateObjRef ( |
Creates object reference. (Overridden because it's implemented by the base class and we want to be sure that anything trying to use this will fail).
|
|
Equals ( object obj ) : bool |
Tests if this object is considered equal to another.
|
|
GetHashCode ( ) : int |
Returns a hash code for this object.
|
|
InitializeLifetimeService ( ) : object |
Initializes the lifetime service. (Overridden because it's implemented by the base class and we want to be sure that anything trying to use this will fail).
|
|
Peek ( ) : int |
Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the input stream.
|
|
Read ( ) : int |
Reads the next character from the input stream and advances the character position by one character.
|
|
Read ( char buffer, int index, int count ) : int |
Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
|
|
ReadBlock ( char buffer, int index, int count ) : int |
Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.
|
|
ReadLine ( ) : string |
Reads a line of characters from the current stream and returns the data as a string. Note: this method will not combine data from two boundary streams into a single line; the end of a stream is always the end of a line. This could result in stream corruption (e.g. the addition of newlines between streams) when using this method.
|
|
ReadToEnd ( ) : string |
Reads all characters from the current position to the end of the TextReader and returns them as one string.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the T:System.IO.TextReader and optionally releases the managed resources.
|
Méthode | Description | |
---|---|---|
NextReader ( ) : bool |
Advance to the next reader
|
public CreateObjRef ( |
||
requestedType | /// Type of the requested. /// | |
Résultat | System.Runtime.Remoting.ObjRef |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// true to release both managed and unmanaged resources; false to release only unmanaged /// resources. /// |
Résultat | void |
public Equals ( object obj ) : bool | ||
obj | object | /// The object to compare to this object. /// |
Résultat | bool |
public InitializeLifetimeService ( ) : object | ||
Résultat | object |
public Read ( char buffer, int index, int count ) : int | ||
buffer | char |
/// When this method returns, contains the specified character array with the values between
/// |
index | int |
/// The position in |
count | int |
/// The maximum number of characters to read. If the end of the stream is reached before
/// |
Résultat | int |
public ReadBlock ( char buffer, int index, int count ) : int | ||
buffer | char |
/// When this method returns, this parameter contains the specified character array with the
/// values between |
index | int |
/// The position in |
count | int | /// The maximum number of characters to read. /// |
Résultat | int |