Click or drag to resize

StreamReader Methods

The StreamReader type exposes the following members.

Methods
 NameDescription
Public methodClose Closes the CrestronIO.TextReader and releases any system resources associated with the TextReader.
(Inherited from TextReader)
Public methodDiscardBufferedData Allows a CrestronIO.StreamReader object to discard its current data.
Public methodDispose Releases all resources used by the CrestronIO.TextReader object.
(Inherited from TextReader)
Protected methodDispose(Boolean) Closes the underlying stream, releases the unmanaged resources used by the CrestronIO.StreamReader, and optionally releases the managed resources.
(Overrides TextReaderDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor for StreamReader.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodPeek Returns the next available character but does not consume it.
(Overrides TextReaderPeek)
Public methodRead Reads the next character from the input stream and advances the character position by one character.
(Overrides TextReaderRead)
Public methodRead(Char, Int32, Int32) Reads a maximum of count characters from the current stream into buffer, beginning at index.
(Overrides TextReaderRead(Char, Int32, Int32))
Public methodReadBlock Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.
(Overrides TextReaderReadBlock(Char, Int32, Int32))
Public methodReadLine Reads a line of characters from the current stream and returns the data as a string.
(Overrides TextReaderReadLine)
Public methodReadToEnd Reads the stream from the current position to the end of the stream.
(Overrides TextReaderReadToEnd)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also