Partilhar via


ValidationResult.Equality(ValidationResult, ValidationResult) Operador

Definição

Compara dois objetos ValidationResult quanto à igualdade de valor.

public:
 static bool operator ==(System::Windows::Controls::ValidationResult ^ left, System::Windows::Controls::ValidationResult ^ right);
public static bool operator == (System.Windows.Controls.ValidationResult left, System.Windows.Controls.ValidationResult right);
static member ( = ) : System.Windows.Controls.ValidationResult * System.Windows.Controls.ValidationResult -> bool
Public Shared Operator == (left As ValidationResult, right As ValidationResult) As Boolean

Parâmetros

left
ValidationResult

A primeira instância a ser comparada.

right
ValidationResult

A segunda instância a ser comparada.

Retornos

Boolean

true se os dois objetos forem iguais; do contrário, false.

Aplica-se a