Compartilhar via


TimeZoneInfo.TransitionTime.Inequality Operador

Definição

Determina se dois objetos TimeZoneInfo.TransitionTime especificados não 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 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

Parâmetros

t1left
TimeZoneInfo.TransitionTime

O primeiro objeto a ser comparado.

t2right
TimeZoneInfo.TransitionTime

O segundo objeto a ser comparado.

Retornos

Boolean

true se t1 e t2 tiverem valores de membro diferentes; caso contrário, false.

Comentários

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

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

Aplica-se a