TnefPropertySetGetDateTime 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
C#
public DateTime? GetDateTime(
	TnefPropertyTag tag
)

Parameters

tag  TnefPropertyTag
The property tag.

Return Value

NullableDateTime
The 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)).

See Also