共用方式為


ValidationResult.Inequality(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 op_Inequality : 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

適用於