MessageObjectPropertyToDateTime Method

Converts the value of the property to DateTime.

Namespace:  Aspose.Email.Mapi.Msg
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public DateTime ToDateTime()

Return Value

Type: DateTime
DateTime value, if type can't be converted to DateTime returns MinValue.
Remarks
This method doesn't provide automatic conversion of the data types, e.g. if Value property is of type default value will be returned.
See Also