Compares the value of this instance to a specified object that contains a specified Date or DateTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified Date or DateTime value.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public int CompareTo( Object value ) |
Visual Basic (Declaration) |
---|
Public Function CompareTo ( _ value As Object _ ) As Integer |
Parameters
- value
- Type: System..::.Object
A boxed Date or DateTime object to compare, or null reference (Nothing in Visual Basic).