편집

다음을 통해 공유


TimeZoneInfo.TransitionTime.Equality Operator

Definition

Determines whether two specified TimeZoneInfo.TransitionTime objects are equal.

public:
 static bool operator ==(TimeZoneInfo::TransitionTime t1, TimeZoneInfo::TransitionTime t2);
public:
 static bool operator ==(TimeZoneInfo::TransitionTime left, TimeZoneInfo::TransitionTime right);
public static bool operator == (TimeZoneInfo.TransitionTime t1, TimeZoneInfo.TransitionTime t2);
public static bool operator == (TimeZoneInfo.TransitionTime left, TimeZoneInfo.TransitionTime right);
static member ( = ) : TimeZoneInfo.TransitionTime * TimeZoneInfo.TransitionTime -> bool
static member ( = ) : TimeZoneInfo.TransitionTime * TimeZoneInfo.TransitionTime -> bool
Public Shared Operator == (t1 As TimeZoneInfo.TransitionTime, t2 As TimeZoneInfo.TransitionTime) As Boolean
Public Shared Operator == (left As TimeZoneInfo.TransitionTime, right As TimeZoneInfo.TransitionTime) As Boolean

Parameters

t1left
TimeZoneInfo.TransitionTime

The first object to compare.

t2right
TimeZoneInfo.TransitionTime

The second object to compare.

Returns

true if t1 and t2 have identical values; otherwise, false.

Remarks

Two TimeZoneInfo.TransitionTime objects are equal if they have identical values for each of their six properties. Otherwise, they are unequal.

The equivalent method for this operator is TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime).

Applies to