DurationHelper.Equals(Duration, Duration) DurationHelper.Equals(Duration, Duration) DurationHelper.Equals(Duration, Duration) 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.

public : static Platform::Boolean Equals(Duration target, Duration value)
static bool Equals(Duration target, Duration value) const;
public static bool Equals(Duration target, Duration value)
Public Shared Function Equals(target As Duration, value As Duration) As bool

Parameters

target
Duration Duration

The first Duration to compare.

value
Duration Duration

The second Duration to compare.

Returns

bool bool

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

See also