Tnef Property ReaderRead Value As Float Method
Read the current value as a float.
Definition
Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The value as a float.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public float ReadValueAsFloat()Return Value
SingleThe value as a float.
Remarks
Reads any numeric value as a float.
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 float. |