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!

Stream.CanSeek

Determines whether the current stream supports seeking.

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

Property Value

true if the stream supports seeking; otherwise, false.

Remarks

If a Stream subclass does not support seeking, a call to any of the following methods will throw a NotSupportedException: Length, SetLength, Position, or Seek.

See Also

Stream Class | Stream Members | System.IO Namespace