Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DateTime.Equals Method

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 Supported by the XNA Framework Supported by Portable Class Library Equals(DateTime) Returns a value indicating whether the value of this instance is equal to the value of the specified DateTime instance.
Public method Supported by the XNA Framework Supported by Portable Class Library Equals(Object) Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Equals(DateTime, DateTime) Returns a value indicating whether two DateTime instances have the same date and time value.
Top
Show:
© 2015 Microsoft