TimeWithZone.Equality OperatorTimeWithZone.Equality OperatorTimeWithZone::Equality Operator

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

Syntax

Public Shared Operator =( _
    time1 As TimeWithZone, _
    time2 As TimeWithZone _
) As Boolean
public static bool operator ==(
    TimeWithZone time1,
    TimeWithZone time2
)
public:
static bool operator ==(
    TimeWithZone time1, 
    TimeWithZone time2
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the time1 and time2 are equal; otherwise, falseFalsefalse.