GYearMonth.Equality OperatorGYearMonth.Equality OperatorGYearMonth::Equality Operator

Indicates whether a specified GYearMonthGYearMonthGYearMonth is equal to another specified GYearMonthGYearMonthGYearMonth.

Syntax

Public Shared Operator =( _
    yearMonth1 As GYearMonth, _
    yearMonth2 As GYearMonth _
) As Boolean
public static bool operator ==(
    GYearMonth yearMonth1,
    GYearMonth yearMonth2
)
public:
static bool operator ==(
    GYearMonth yearMonth1, 
    GYearMonth yearMonth2
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the two GYearMonthGYearMonthGYearMonth values are equal, falseFalsefalse otherwise.