Duration.Equals Method (Duration)

 

Determines whether a specified Duration is equal to this instance of Duration.

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

public bool Equals(
	Duration duration
)

Parameters

duration
Type: System.Windows.Duration

Instance of Duration to check for equality.

Return Value

Type: System.Boolean

true if duration is equal to the current instance of Duration; otherwise, false.

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