Duration.Equality Operator
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether two Duration cases are equal.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- t1
- Type: System.Windows.Duration
The first Duration to compare.
- t2
- Type: System.Windows.Duration
The second Duration to compare.
Return Value
Type: System.Booleantrue if both Duration values have equal property values, or if all Duration values are null. Otherwise, this method returns false.
Show: