GMonth.Inequality OperatorGMonth.Inequality OperatorGMonth::Inequality Operator

Indicates whether a specified GMonthGMonthGMonth is not equal to another specified GMonthGMonthGMonth.

Syntax

Public Shared Operator <>( _
    month1 As GMonth, _
    month2 As GMonth _
) As Boolean
public static bool operator !=(
    GMonth month1,
    GMonth month2
)
public:
static bool operator !=(
    GMonth month1, 
    GMonth month2
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the two GMonthGMonthGMonth values are not equal, falseFalsefalse otherwise.

Remarks

Two GMonthGMonthGMonth values are considered equal if they have they have equal values for their MonthMonthMonth and TimeZoneTimeZoneTimeZone properties.

Consider using Equals (GMonth, GMonth, TimeZone)Equals (GMonth, GMonth, TimeZone)Equals (GMonth, GMonth, TimeZone) to compare GMonthGMonthGMonth values with differing TimeZoneTimeZoneTimeZone properties.