Class DateComparisonField

DateComparisonField class

Represents the date search field.

public sealed class DateComparisonField : ComparisonField

Methods

NameDescription
Before(DateTime)Indicates that the date in message must be earlier than the specified date.
Before(DateTime, DateComparisonType)Indicates that the date in message must be earlier than the specified date.
BeforeOrEqual(DateTime)Indicates that the date in message must be earlier or equel to the specified date.
BeforeOrEqual(DateTime, DateComparisonType)Indicates that the date in message must be earlier or equel to the specified date.
Greater(DateTime)Indicates that date in message must be later than the specified date.
Greater(DateTime, DateComparisonType)Indicates that date in message must be later than the specified date.
NotOn(DateTime)Indicates that the date in message must not be in the specified date.
NotOn(DateTime, DateComparisonType)Indicates that the date in message must not be in the specified date.
On(DateTime)Indicates that the date in message must be within the specified date.
On(DateTime, DateComparisonType)Indicates that the date in message must be within the specified date.
OrderBy(bool)Sets value which indicates if client uses ascending or descending sorting on the Field.
Since(DateTime)Indicates that date in message must be within or later than the specified date.
Since(DateTime, DateComparisonType)Indicates that date in message must be within or later than the specified date.

See Also