The StreamReader type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
StreamReader |
Creates new instance of stream reader.
|
Methods
Name | Description | |
---|---|---|
Close |
Closes the StreamReader object and the underlying stream, and releases any system resources associated with the reader.
(Overrides TextReader 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.) | |
Dispose | Releases all resources used by the TextReader object. (Inherited from TextReader.) | |
Dispose(Boolean) |
Releases all resources.
(Overrides TextReader Dispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it 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 | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
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 TextReader Peek .) | |
Read |
Reads the next character from the input stream and advances the character position by one character.
(Overrides TextReader Read .) | |
Read( Char , Int32, Int32) | Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index. (Inherited from TextReader.) | |
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 from the underlying string.
(Overrides TextReader ReadLine .) | |
ReadToEnd |
Reads the stream from the current position to the end of the stream.
(Overrides TextReader ReadToEnd .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
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.) |
Properties
Name | Description | |
---|---|---|
EndOfStream |
Gets a value that indicates whether the current stream position is at the end of the stream.
|
See Also