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

Duration.Equals Method (Duration)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
)

Parameters

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft