Click or drag to resize

TextReader Methods

The TextReader type exposes the following members.

Methods
 NameDescription
Public methodClose Closes the CrestronIO.TextReader and releases any system resources associated with the TextReader.
Public methodDispose Releases all resources used by the CrestronIO.TextReader object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the CrestronIO.TextReader and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
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 Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the input stream.
Public methodRead Reads the next character from the input stream and advances the character position by one character.
Public methodRead(Char, Int32, Int32) Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
Public methodReadBlock Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.
Public methodReadLine Reads a line of characters from the current stream and returns the data as a string.
Public methodReadToEnd Reads all characters from the current position to the end of the TextReader and returns them as one string.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also