TimeWithZone.Equals Method (TimeWithZone, TimeWithZone, TimeZone)TimeWithZone.Equals Method (TimeWithZone, TimeWithZone, TimeZone)TimeWithZone::Equals Method (TimeWithZone, TimeWithZone, TimeZone)

Indicates whether a specified TimeWithZoneTimeWithZoneTimeWithZone is equal to another specified TimeWithZoneTimeWithZoneTimeWithZone given the supplied implicit time zone.

Syntax

Public Shared Function Equals( _
    time1 As TimeWithZone, _
    time2 As TimeWithZone, _
    implicitTimeZone As TimeZone _
) As Boolean
public static bool Equals(
    TimeWithZone time1,
    TimeWithZone time2,
    TimeZone implicitTimeZone
)
public:
static bool Equals(
    TimeWithZone time1, 
    TimeWithZone time2, 
    TimeZone implicitTimeZone
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the two TimeWithZoneTimeWithZoneTimeWithZone values are equal; otherwise falseFalsefalse.