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

适用于