YearMonthDuration.Equals Method (YearMonthDuration)YearMonthDuration.Equals Method (YearMonthDuration)YearMonthDuration::Equals Method (YearMonthDuration)

Indicates whether this instance is equal to another YearMonthDurationYearMonthDurationYearMonthDuration.

Syntax

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

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

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