DateTimeWithZone.Inequality OperatorDateTimeWithZone.Inequality OperatorDateTimeWithZone::Inequality Operator

Returns a value indicating whether two instances of DateTimeWithZoneDateTimeWithZoneDateTimeWithZone are not equal.

Syntax

Public Shared Operator <>( _
    dateTime1 As DateTimeWithZone, _
    dateTime2 As DateTimeWithZone _
) As Boolean
public static bool operator !=(
    DateTimeWithZone dateTime1,
    DateTimeWithZone dateTime2
)
public:
static bool operator !=(
    DateTimeWithZone dateTime1, 
    DateTimeWithZone dateTime2
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the dateTime1 and dateTime2 are not equal; otherwise, falseFalsefalse.