Equals Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a value indicating whether two DateTime objects, or a DateTime instance and another object or DateTime, have the same value.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Equals(Object) Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType..::..Equals(Object).)
Public method Static member Equals(DateTime, DateTime) Returns a value indicating whether two DateTime instances have the same date and time value.
Top
Show: