Bewerken

Share via


ValidationResult.Equality(ValidationResult, ValidationResult) Operator

Definition

Compares two ValidationResult objects for value equality.

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

Parameters

left
ValidationResult

The first instance to compare.

right
ValidationResult

The second instance to compare.

Returns

true if the two objects are equal; otherwise, false.

Applies to