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.Length

Returns the length in bytes of the stream.

[Visual Basic]
Overridable Public ReadOnly Property Length As Long
[C#]
public long Length {override get;}
[C++]
public: __property virtual __int64 get_Length();
[JScript]
public function get Length() : long;

Property Value

The length in bytes of the stream.

Exceptions

Exception Type Condition
IOException The stream is closed.

See Also

MemoryStream Class | MemoryStream Members | System.IO Namespace