Compartilhar via


EncoderStream.Position property

The Position property gets or sets a long integer value representing the current position within the Stream object that this EncoderStream object owns.

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

Syntax

'Declaration
Public Overrides NotOverridable Property Position As Long
    Get
    Set
'Usage
Dim instance As EncoderStream
Dim value As Long

value = instance.Position

instance.Position = value
public override sealed long Position { get; set; }

Property value

Type: System.Int64

Exceptions

Exception Condition
NotSupportedException

The stream does not support seeking.

ArgumentException

You attempted to assign a value less than zero to the Position property.

See also

Reference

EncoderStream class

EncoderStream members

Microsoft.Exchange.Data.Mime.Encoders namespace