DateTime..::..CompareTo Method (Object)
Compares the value of this instance to a specified object that contains a specified DateTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified DateTime value.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public int CompareTo( Object other )
<TemplateAttribute> _ Public Function CompareTo ( _ other As Object _ ) As Integer
[TemplateAttribute] public: int^ CompareTo( Object^ other )
Parameters
- other
- Type: System..::..Object