Duration::Equals Method (Duration, Duration)

 

Determines whether two instances of Duration are equal.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public:
static bool Equals(
	Duration t1,
	Duration t2
)

Parameters

t1
Type: System.Windows::Duration

First instance of Duration to compare.

t2
Type: System.Windows::Duration

Second instance of Duration to compare.

Return Value

Type: System::Boolean

true if t1 is equal to t2; otherwise, false.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: