編輯

共用方式為


TimeZoneInfo.TransitionTime.Inequality Operator

Definition

Determines whether two specified TimeZoneInfo.TransitionTime objects are not 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 op_Inequality : TimeZoneInfo.TransitionTime * TimeZoneInfo.TransitionTime -> bool
static member op_Inequality : 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 any different member values; otherwise, false.

Remarks

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

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

Applies to