Parameters
- obj
- A TdDate that will be compared to this instance of TdDate.
Return Value
true
is returned if the two TdDate are equal, false
otherwise.true
is returned if the two TdDate are equal, false
otherwise.The boolean that is returned indicates the following conditions:
false
will be returned if:
null
. true
will be returned if:
TdDate later = new TdDate(2010, 8, 31); Object earlier = new TdDate(2007, 9, 10); // The following comparison is equivalent to using // false == TdDate.Equals(later, (TdDate) earlier) // later != (TdDate) earlier // true == TdDate.NotEquals(later, (TdDate) earlier) // if (false == later.Equals(earlier)) { Console.WriteLine(“later does not equal earlier”); }
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019