Share 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
public override sealed long Position { get; set; }
public:
virtual property long long Position {
    long long get () override sealed;
    void set (long long value) override sealed;
}
/** @property */
public final long get_Position ()

/** @property */
public final void set_Position (long value)
public override final function get Position () : long

public override final function set Position (value : long)

Exceptions

Exception type Condition
NotSupportedException

The stream does not support seeking.

ArgumentException

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003