When overridden in a derived class, gets a value indicating whether the current stream supports seeking.

Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Public ReadOnly Overrides Property CanSeek() As Boolean
This language is not supported or no code example is available.
public override bool CanSeek {get;}
This language is not supported or no code example is available.
public:  
property bool CanSeek { 
bool get( ); 
}
This language is not supported or no code example is available.
public function get CanSeek() : boolean;
This language is not supported or no code example is available.

Property Value

Type: bool

true if the stream supports seeking; otherwise, false.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1