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  | |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.  (Inherited from  | ||
Releases all resources used by the   (Inherited from  | ||
| Dispose(Boolean) | 
            Releases all resources.
              (Overrides  | |
|  (Inherited from  | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from  | ||
Serves as a hash function for a particular type.   (Inherited from  | ||
Retrieves the current lifetime service object that controls the lifetime policy for this instance.  (Inherited from  | ||
Gets the   (Inherited from  | ||
Obtains a lifetime service object to control the lifetime policy for this instance.  (Inherited from  | ||
Creates a shallow copy of the current   (Inherited from  | ||
Creates a shallow copy of the current   (Inherited from  | ||
| 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  | |
| Read | 
            Reads the next character from the input stream and advances the character position by one character.
              (Overrides  | |
Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.  (Inherited from  | ||
Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.  (Inherited from  | ||
| ReadLine | 
            Reads a line from the underlying string.
              (Overrides  | |
| ReadToEnd | 
            Reads the stream from the current position to the end of the stream.
              (Overrides  | |
Returns a string that represents the current object.  (Inherited from  | 
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