StringReader

StringReader


Provides methods to read portions of a string.


Implements:

IObject 
TextReader 

Public:

Methods:

NameDescription
 CloseReader Closes the reader  
 Equals Returns a boolean indicating if the value and this object instance are the same instance.  
 GetHashCode Returns a pseudo-unique number identifying this instance.  
 Peek Returns the next character in the string without consuming that character. The character is still the next to be read.  
 Read Returns the next character in the string, moving the current position to the next character.  
 ReadBlock Fills an array with a block of characters from the string.  
 ReadLine Reads a line terminated by a CarriageReturn or LineFeed from the string.  
 ReadToEnd Returns from the current position in the string to the end.  
 ToString Returns a string representation of this object instance.  

See Also

Project CorLib Overview

Class StringReader Overview

Constructors

TextReader