TimeZoneInfo.TransitionTime.Equality(TimeZoneInfo+TransitionTime, TimeZoneInfo+TransitionTime) 运算符

定义

确定两个指定的 TimeZoneInfo.TransitionTime 对象是否相等。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

参数

t1left
TimeZoneInfo.TransitionTime

要比较的第一个对象。The first object to compare.

t2right
TimeZoneInfo.TransitionTime

要比较的第二个对象。The second object to compare.

返回

如果 truet1 具有相同的值,则为 t2否则为 falsetrue if t1 and t2 have identical values; otherwise, false.

注解

如果两个 TimeZoneInfo.TransitionTime 对象对于其六个属性中的每一个都具有相同的值,则相等。Two TimeZoneInfo.TransitionTime objects are equal if they have identical values for each of their six properties. 否则,它们不相等。Otherwise, they are unequal.

此运算符的等效方法是 TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime)The equivalent method for this operator is TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime).

适用于