Jaa


DurationHelper.Equals(Duration, Duration) Method

Definition

Determines whether two Duration values have equivalent values. C# and Microsoft Visual Basic code should use the Equality (=) operator or Duration.Equals method instead.

 static bool Equals(Duration const& target, Duration const& value);
public static bool Equals(Duration target, Duration value);
function equals(target, value)
Public Shared Function Equals (target As Duration, value As Duration) As Boolean

Parameters

target
Duration

The first Duration to compare.

value
Duration

The second Duration to compare.

Returns

Boolean

bool

true if target and value hold equivalent values; otherwise, false.

Applies to

See also