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!

MemoryStream Constructor ()

Initializes a new MemoryStream with an expandable capacity initially set to zero.

[Visual Basic]
Overloads Public Sub New()
[C#]
public MemoryStream();
[C++]
public: MemoryStream();
[JScript]
public function MemoryStream();

Remarks

The CanRead, CanSeek, and CanWrite properties are all set to true.

The capacity of the current stream is automatically increased when the SetLength method is used to set the length to a value larger than the capacity of the current stream.

This constructor exposes the underlying stream, which GetBuffer returns.

See Also

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