Determines whether two TimeSpan objects represent the same time.
[Visual Basic] Overloads Public Shared Function Equals( _ ByVal t1 As TimeSpan, _ ByVal t2 As TimeSpan _ ) As Boolean [C#] public static bool Equals( TimeSpan t1, TimeSpan t2 ); [C++] public: static bool Equals( TimeSpan t1, TimeSpan t2 ); [JScript] public static function Equals( t1 : TimeSpan, t2 : TimeSpan ) : Boolean;
true if the two TimeSpan objects represent the same time; otherwise, false.
The Equals method returns a true result when it compares the first TimeSpan object to another TimeSpan object (t1 = t2) and if they represent the same time. If they are unequal then it returns false.
TimeSpan Structure | TimeSpan Members | System Namespace | TimeSpan.Equals Overload List | Boolean