GYearMonth.Inequality OperatorGYearMonth.Inequality OperatorGYearMonth::Inequality Operator
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 )
Parameters
- yearMonth1
Type: XmlPrime.GYearMonthXmlPrime.GYearMonthXmlPrime::GYearMonth
The first GYearMonthGYearMonthGYearMonth to compare.
- yearMonth2
Type: XmlPrime.GYearMonthXmlPrime.GYearMonthXmlPrime::GYearMonth
The second GYearMonthGYearMonthGYearMonth to compare.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the two GYearMonthGYearMonthGYearMonth values are not equal, false
False
false
otherwise.
Remarks
Two GYearMonthGYearMonthGYearMonth values are considered equal if they have they have equal values for their YearYearYear, MonthMonthMonth and TimeZoneTimeZoneTimeZone properties.
Consider using Equals (GYearMonth, GYearMonth, TimeZone)Equals (GYearMonth, GYearMonth, TimeZone)Equals (GYearMonth, GYearMonth, TimeZone) to compare GYearMonthGYearMonthGYearMonth values with differing TimeZoneTimeZoneTimeZone properties.