Equals Method (Duration)
Collapse the table of content
Expand the table of content

Duration.Equals Method (Duration)

Determines whether a specified Duration is equal to this Duration.

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

public bool Equals(
	Duration duration


Type: System.Windows.Duration
The Duration to check for equality.

Return Value

Type: System.Boolean
true if duration is equal to this Duration; otherwise, false.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2016 Microsoft