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!

BufferedStream.Length

Retrieves the stream length in bytes.

[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 stream length in bytes.

Exceptions

Exception Type Condition
IOException The underlying stream is null or closed.
NotSupportedException The stream does not support seeking.

See Also

BufferedStream Class | BufferedStream Members | System.IO Namespace