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!

StreamReader Constructor (Stream)

Creates a new instance of the StreamReader class for the specified stream.

[Visual Basic]
Overloads Public Sub New( _
   ByVal stream As Stream _
)
[C#]
public StreamReader(
   Stream stream
);
[C++]
public: StreamReader(
   Stream* stream
);
[JScript]
public function StreamReader(
   stream : Stream
);

Parameters

stream
The stream to be read.

Exceptions

Exception Type Condition
ArgumentNullException stream is null.

Remarks

The default character encoding and the default buffer size are used.

See Also

StreamReader Class | StreamReader Members | System.IO Namespace | StreamReader Constructor Overload List