| StreamReader Class |
Namespace: CMS.IO
public class StreamReader : TextReader
The StreamReader type exposes the following members.
| Name | Description | |
|---|---|---|
| StreamReader |
Creates new instance of stream reader.
|
| Name | Description | |
|---|---|---|
| Close |
Closes the StreamReader object and the underlying stream, and releases any system resources associated with the reader.
(Overrides TextReaderClose.) | |
| Dispose |
Releases all resources.
(Overrides TextReaderDispose(Boolean).) | |
| New(Stream) |
Returns new instance of stream reader class.
| |
| New(StreamReader) |
Returns new instance of stream reader class.
| |
| New(String) |
Returns new instance of stream reader class.
| |
| New(Stream) |
Returns new instance of stream reader class.
| |
| New(Stream, Encoding) |
Returns new instance of stream reader class.
| |
| Peek |
Returns the next available character but does not consume it.
(Overrides TextReaderPeek.) | |
| Read |
Reads the next character from the input stream and advances the character position by one character.
(Overrides TextReaderRead.) | |
| ReadLine |
Reads a line from the underlying string.
(Overrides TextReaderReadLine.) | |
| ReadToEnd |
Reads the stream from the current position to the end of the stream.
(Overrides TextReaderReadToEnd.) |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| EndOfStream |
Gets a value that indicates whether the current stream position is at the end of the stream.
|