Tnef Property SetGet Date Time Method
Get the value of the specified property as a date and time.
Definition
Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The value, or if the property was not found or could not be converted.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public DateTime? GetDateTime(
TnefPropertyTag tag
)Parameters
- tag TnefPropertyTag
- The property tag.
Return Value
NullableDateTimeThe value, or if the property was not found or could not be converted.
Remarks
Gets the value of the specified property as a date and time (see TryGetDateTime(DateTime)).