Condividi tramite


TimeZoneInfo.TransitionTime.Equality Operatore

Definizione

Determina se due oggetti TimeZoneInfo.TransitionTime specificati sono uguali.

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

Parametri

t1left
TimeZoneInfo.TransitionTime

Primo oggetto da confrontare.

t2right
TimeZoneInfo.TransitionTime

Secondo oggetto da confrontare.

Restituisce

Boolean

true se t1 e t2 hanno valori identici. In caso contrario, false.

Commenti

Due TimeZoneInfo.TransitionTime oggetti sono uguali se hanno valori identici per ognuna delle relative sei proprietà. In caso contrario, non sono uguali.

Il metodo equivalente per questo operatore è TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime).

Si applica a