Click or drag to resize
MimeKit

TnefPropertyReaderReadValueAsDateTime Method

Read the value as a date and time.

Namespace: MimeKit.Tnef
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public DateTime ReadValueAsDateTime()

Return Value

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