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

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

Syntax

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

Parameters

value
Type: DlhSoft.Windows.Data..::.TimeOfDay
A TimeOfDay 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