The CharReader type exposes the following members.

Methods

  NameDescription
Public methodClose (Overrides StreamReader..::..Close()()()().)
Public methodCorrectOffset (Overrides CharStream..::..CorrectOffset(Int32).)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDiscardBufferedData
Allows a StreamReader object to discard its current data.
(Inherited from StreamReader.)
Public methodDispose()()()()
Releases all resources used by the TextReader object.
(Inherited from TextReader.)
Protected methodDispose(Boolean)
Closes the underlying stream, releases the unmanaged resources used by the StreamReader, and optionally releases the managed resources.
(Inherited from StreamReader.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGet
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodMark
Public methodMarkSupported
Protected methodMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodPeek
Returns the next available character but does not consume it.
(Inherited from StreamReader.)
Public methodRead()()()()
Reads the next character from the input stream and advances the character position by one character.
(Inherited from StreamReader.)
Public methodRead(array<Char>[]()[][], Int32, Int32) (Overrides StreamReader..::..Read(array<Char>[]()[][], Int32, Int32).)
Public methodReadBlock
Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.
(Inherited from TextReader.)
Public methodReadLine
Reads a line of characters from the current stream and returns the data as a string.
(Inherited from StreamReader.)
Public methodReadToEnd
Reads the stream from the current position to the end of the stream.
(Inherited from StreamReader.)
Public methodReset
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBaseStream
Returns the underlying stream.
(Inherited from StreamReader.)
Public propertyCurrentEncoding
Gets the current character encoding that the current StreamReader object is using.
(Inherited from StreamReader.)
Public propertyEndOfStream
Gets a value that indicates whether the current stream position is at the end of the stream.
(Inherited from StreamReader.)

See Also