TnefPropertyReaderReadValueAsDouble Method

Read the current value as a double.

Definition

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

Return Value

Double
The value as a double.

Remarks

Reads any numeric value as a double.

Exceptions

ObjectDisposedException The TnefReader has been disposed.
InvalidOperationException

The TnefReader has been advanced to another attribute.

-or-

The reader is not positioned on a value.

-or-

The value cannot be read as a double.

See Also