ValueSource.Inequality(ValueSource, ValueSource) 运算符

定义

确定两个 ValueSource 实例是否具有不同的值。Determines whether two ValueSource instances do not have the same value.

public:
 static bool operator !=(System::Windows::ValueSource vs1, System::Windows::ValueSource vs2);
public static bool operator != (System.Windows.ValueSource vs1, System.Windows.ValueSource vs2);
static member op_Inequality : System.Windows.ValueSource * System.Windows.ValueSource -> bool
Public Shared Operator != (vs1 As ValueSource, vs2 As ValueSource) As Boolean

参数

vs1
ValueSource

要比较的第一个 ValueSourceThe first ValueSource to compare.

vs2
ValueSource

要比较的第二个 ValueSourceThe second ValueSource to compare.

返回

如果两个 ValueSource 实例不等效,则为 true;否则为 falsetrue if the two ValueSource instances are not equivalent; otherwise, false.

注解

此实现调用Equals, 返回其反, 并支持基于的所有属性的ValueSource值相等性。This implementation calls Equals, returning its negation, and supports value equality based on all properties of ValueSource.

适用于

另请参阅