DateComparisonFieldBefore Method (DateTime, DateComparisonType) |
Indicates that the date in message must be earlier than the specified date.
Namespace:
Aspose.Email.Tools.Search
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public MailQuery Before(
DateTime value,
DateComparisonType comparisonType
)
Public Function Before (
value As DateTime,
comparisonType As DateComparisonType
) As MailQuery
public:
MailQuery^ Before(
DateTime value,
DateComparisonType comparisonType
)
member Before :
value : DateTime *
comparisonType : DateComparisonType -> MailQuery
Parameters
- value
- Type: SystemDateTime
The value. - comparisonType
- Type: Aspose.Email.Tools.SearchDateComparisonType
Specifies a type of comparison
Return Value
Type:
MailQueryMailQuery that represents search query (one searching criterion).
See Also