StringReader | CF 1.0, ECMA 1.0, serializable, marshal by reference, disposable |
System.IO (mscorlib.dll) | class |
This class implements TextReader and
provides all its methods. It is useful
when you would like to deal with a System.String
in the same way you would work with a TextReader.
public class StringReader : TextReader {
// Public Constructors
public StringReader(string s);
// Public Instance Methods
public override void Close( );
// overrides TextReader
public override int Peek( );
// overrides TextReader
public override int Read( );
// overrides TextReader
public override int Read(in char[ ] buffer, int index, int count)
// overrides TextReader
public override string ReadLine( );
// overrides TextReader
public override string ReadToEnd( );
// overrides TextReader
// Protected Instance Methods
protected override void Dispose(bool disposing);
// overrides TextReader
}
Hierarchy
System.Object
System.MarshalByRefObject
TextReader(System.IDisposable)
StringReader
|