Compares the value of this instance to a specified Date value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified Date value.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public int CompareTo(
	Date value
)
Visual Basic (Declaration)
Public Function CompareTo ( _
	value As Date _
) As Integer

Parameters

value
Type: DlhSoft.Windows.Data..::.Date
A Date object to compare.

Return Value

A signed number indicating the relative values of this instance and the value parameter: : less than zero indicates that this instance is earlier than value, zero indicates that this instance is the same as value, greater than zero indicates that this instance is later than value.

Implements

IComparable<(Of <(T>)>)..::.CompareTo(T)

See Also