DurationHelper.Equals(Duration, Duration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
Boolean
bool
true if target and value hold equivalent values; otherwise, false.