NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TextReader.Read

Reads data from an input stream.

Overload List

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

[Visual Basic] Overloads Overridable Public Function Read(Char(), Integer, Integer) As Integer
[C#] public virtual int Read(char[], int, int);
[C++] public: virtual int Read(__wchar_t*[], int, int);
[JScript] public function Read(Char[], int, int) : int;

Reads the next character from the input stream.

The returned value is-1 if no more characters are available. This default method simply returns-1.

[Visual Basic] Overloads Overridable Public Function Read() As Integer
[C#] public virtual int Read();
[C++] public: virtual int Read();
[JScript] public function Read() : int;

See Also

TextReader Class | TextReader Members | System.IO Namespace