Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TextReader Members

TextReader overview

Public Fields

public fieldstatic (Shared in Visual Basic)Null

Supported by the .NET Compact Framework.

Provides a TextReader with no data to read from.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

Closes the TextReader and releases any system resources associated with the TextReader.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodPeek

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Overloaded. Reads data from an input stream.
public methodReadBlock

Supported by the .NET Compact Framework.

Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
public methodReadLine

Supported by the .NET Compact Framework.

Reads a line of characters from the current stream and returns the data as a string.
public methodReadToEnd

Supported by the .NET Compact Framework.

Reads all characters from the current position to the end of the TextReader and returns them as one string.
public methodstatic (Shared in Visual Basic)Synchronized

Supported by the .NET Compact Framework.

Creates a thread-safe wrapper around the specified TextReader.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorTextReader Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the TextReader class.

Protected Methods

protected methodDispose

Supported by the .NET Compact Framework.

Releases the unmanaged resources used by the TextReader and optionally releases the managed resources.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

TextReader Class | System.IO Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.