BoundedStreamPosition Property

Get or sets the current position within the stream.

Definition

Namespace: MimeKit.IO
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public override long Position { get; set; }

Property Value

Int64
The position of the stream.

Remarks

The Position is relative to the StartBoundary.

Exceptions

IOException An I/O error occurred.
NotSupportedException The stream does not support seeking.
ObjectDisposedException The stream has been disposed.

See Also