TnefReaderOpenValueStream Method

Open a stream for reading the current attribute's raw value.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Stream OpenValueStream()

Return Value

Stream
The value stream.

Remarks

Opens a stream for reading the current attribute's raw value.

The stream is only valid until the reader is advanced to the next attribute.

Exceptions

ObjectDisposedException The reader has been disposed.
InvalidOperationException

The reader is not positioned on an attribute.

-or-

The attribute's value has already been read.

See Also