Thickness.Inequality(Thickness, Thickness) Operador

Definição

Compara duas estruturas Thickness quanto à desigualdade.Compares two Thickness structures for inequality.

public:
 static bool operator !=(System::Windows::Thickness t1, System::Windows::Thickness t2);
public static bool operator != (System.Windows.Thickness t1, System.Windows.Thickness t2);
static member op_Inequality : System.Windows.Thickness * System.Windows.Thickness -> bool
Public Shared Operator != (t1 As Thickness, t2 As Thickness) As Boolean

Parâmetros

t1
Thickness

A primeira estrutura a ser comparada.The first structure to compare.

t2
Thickness

A outra estrutura a ser comparada.The other structure to compare.

Retornos

Boolean

true se as duas instâncias de Thickness não forem iguais; caso contrário, false.true if the two instances of Thickness are not equal; otherwise, false.

Comentários

O teste de igualdade ou desigualdade em dois valores de ponto flutuante que são logicamente equivalentes pode falhar devido a erros de precisão que podem ser acumulados à medida que os valores são operados.Testing for equality or inequality on two floating-point values that are logically equivalent might fail because of precision errors that can accumulate as the values are operated on.

Aplica-se a