Determines whether two TimeSpan objects are equal.
[C#] public static bool operator ==( TimeSpan t1, TimeSpan t2 ); [C++] public: static bool operator op_Equality( TimeSpan t1, TimeSpan t2 ); [JScript] returnValue = t1 == t2;
[Visual Basic] In Visual Basic, you cannot use the operators defined by a type, nor override them or define your own.
[JScript] In JScript, you can use the operators defined by a type, but you cannot override them or define your own.
true if t1 and t2
represent the same time; otherwise, false.
This TimeSpan operator performs the arithmetic function of equality and returns a Boolean determination of their relationship.
TimeSpan Structure | TimeSpan Members | System Namespace | Equals