Partager via


EncoderStream.CanSeek Property

The CanSeek property gets a Boolean value indicating whether the Stream object that this EncoderStream object owns supports seeking.

Namespace:  Microsoft.Exchange.Data.Mime.Encoders
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Overrides NotOverridable ReadOnly Property CanSeek As Boolean
    Get
'Usage
Dim instance As EncoderStream
Dim value As Boolean

value = instance.CanSeek
public override sealed bool CanSeek { get; }

Property Value

Type: System.Boolean
The CanSeek property returns true if seeking is supported. It returns false if the stream that this EncoderStream object owns is closed or if it was constructed from an operating system handle.