Duration.Equals Method (Duration)Duration.Equals Method (Duration)Duration::Equals Method (Duration)

Indicates whether this instance is equal to another DurationDurationDuration.

Syntax

Public Function Equals( _
    other As Duration _
) As Boolean
public bool Equals(
    Duration other
)
public:
virtual bool Equals(
    Duration other
) sealed
 

Parameters

other

Type: XmlPrime.DurationXmlPrime.DurationXmlPrime::Duration

A DurationDurationDuration to compare with this object.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if other equals the value of this instance; otherwise, falseFalsefalse.