共用方式為


ValidationResult.Equality(ValidationResult, ValidationResult) 運算子

定義

比較兩個 ValidationResult 物件的值是否相等。

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

參數

left
ValidationResult

要比較的第一個執行個體。

right
ValidationResult

要比較的第二個執行個體。

傳回

Boolean

如果兩個物件相等則為 true,否則為 false

適用於