Duration::Equality Operator (Duration, Duration)
.NET Framework (current version)
Determines whether two instances of Duration are equal.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- t1
-
Type:
System.Windows::Duration
The first instance of Duration to compare.
- t2
-
Type:
System.Windows::Duration
The second instance of Duration to compare.
Return Value
Type: System::Booleantrue if both instances of Duration have values and are equal, or if both instances of Duration are null. Otherwise, this method returns false.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: