Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StringReader Methods

The methods of the StringReader class are listed here. For a complete list of StringReader class members, see the StringReader Members topic.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

Overridden. Closes the StringReader.
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.

Overridden. Returns the next available character but does not consume it.
public methodRead

Supported by the .NET Compact Framework.

Overloaded. Overridden. Reads the next character or next set of characters from the input string.
public methodReadBlock (inherited from TextReader)

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.

Overridden. Reads a line from the underlying string.
public methodReadToEnd

Supported by the .NET Compact Framework.

Overridden. Reads the stream as a string, either in its entirety or from the current position to the end of the stream.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodDispose

Supported by the .NET Compact Framework.

Overridden. Releases the unmanaged resources used by the StringReader 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

StringReader Class | System.IO Namespace

Show:
© 2014 Microsoft