Equals Method

TimeSpan.Equals Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a value indicating whether two instances of TimeSpan are equal.

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

  NameDescription
Public method Equals(Object) Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public method Equals(TimeSpan) Returns a value indicating whether this instance is equal to a specified TimeSpan object.
Public method Static member Equals(TimeSpan, TimeSpan) Returns a value indicating whether two specified instances of TimeSpan are equal.
Top

Show:
© 2017 Microsoft