Compartilhar via


TimeZoneInfo.TransitionTime.Equality Operador

Definição

Determina se dois objetos TimeZoneInfo.TransitionTime especificados são iguais.

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

Parâmetros

t1left
TimeZoneInfo.TransitionTime

O primeiro objeto a ser comparado.

t2right
TimeZoneInfo.TransitionTime

O segundo objeto a ser comparado.

Retornos

true se t1 e t2 tiverem valores idênticos; caso contrário, false.

Comentários

Dois TimeZoneInfo.TransitionTime objetos serão iguais se tiverem valores idênticos para cada uma de suas seis propriedades. Caso contrário, são diferentes.

O método equivalente para esse operador é TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime).

Aplica-se a