The CustomStreamReader type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CustomStreamReader | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Close | ||
| CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| DiscardBufferedData |
DiscardBufferedData tells myStreamReader to throw away its internal
buffer contents. This is useful if the user needs to seek on the
underlying stream to a known location then wants the myStreamReader
to start reading from this new point. This method should be called
very sparingly, if ever, since it can lead to very poor performance.
However, it may be the only way of handling some scenarios where
users need to re-read the contents of a myStreamReader a second time.
| |
| Dispose | Overloaded. | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Overloaded. | |
| Peek | ||
| Read | Overloaded. | |
| ReadBlock |
Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.
(Inherited from TextReader.) | |
| ReadLine |
Reads a line. A line is defined as a sequence of characters followed by
a carriage return ('\r'), a line feed ('\n'), or a carriage return
immediately followed by a line feed. The resulting string does not
contain the terminating carriage return and/or line feed. The returned
value is null if the end of the input stream has been reached.
(Overrides TextReader..::.ReadLine()()().) | |
| ReadToEnd | ||
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| Null |
Properties
| Name | Description | |
|---|---|---|
| BaseStream | ||
| BytesRead | ||
| CurrentEncoding | ||
| EndOfStream | ||
| LineLength |