TimeZoneInfo.TransitionTime.Inequality(TimeZoneInfo+TransitionTime, TimeZoneInfo+TransitionTime) 運算子

定義

判斷指定的兩個 TimeZoneInfo.TransitionTime 物件是否相等。Determines whether two specified TimeZoneInfo.TransitionTime objects are not equal.

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

參數

t1
TimeZoneInfo.TransitionTime

要比較的第一個物件。The first object to compare.

t2
TimeZoneInfo.TransitionTime

要比較的第二個物件。The second object to compare.

傳回

如果 t1t2 具有任何不同的成員值,則為 true;否則為 falsetrue if t1 and t2 have any different member values; otherwise, false.

備註

如果TimeZoneInfo.TransitionTime兩個物件的六個屬性各有不同的值,則兩者不相等。Two TimeZoneInfo.TransitionTime objects are unequal if they have different values for any of their six properties. 否則,它們會相等。Otherwise, they are equal.

這個運算子的對等方法是TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime)The equivalent method for this operator is TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime).

適用於