Click or drag to resize
MimeKit

TnefPropertyReaderReadValueAsBoolean Method

Read the value as a boolean.

Namespace: MimeKit.Tnef
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public bool ReadValueAsBoolean()

Return Value

Boolean
The value as a boolean.
Exceptions
ExceptionCondition
InvalidOperationException There are no more values to read or the value could not be read as a boolean.
EndOfStreamException The TNEF stream is truncated and the value could not be read.
Remarks
Reads any integer-based attribute or property value as a boolean.
See Also