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

Determines whether the current stream supports seeking.

[Visual Basic]
Overridable Public ReadOnly Property CanSeek As Boolean
[C#]
public bool CanSeek {override get;}
[C++]
public: __property virtual bool get_CanSeek();
[JScript]
public function get CanSeek() : Boolean;

Property Value

true if the stream supports seeking; otherwise, false. Also returns false if the stream is closed.

Remarks

If a BufferedStream subclass does not support seeking, calls to SetLength or Seek throw a NotSupportedException.

See Also

BufferedStream Class | BufferedStream Members | System.IO Namespace | Position | SetLength | Seek