DataGridLength.Inequality(DataGridLength, DataGridLength) 运算符

定义

比较两个 DataGridLength 结构以确定它们是否不相等。

public:
 static bool operator !=(System::Windows::Controls::DataGridLength gl1, System::Windows::Controls::DataGridLength gl2);
public static bool operator != (System.Windows.Controls.DataGridLength gl1, System.Windows.Controls.DataGridLength gl2);
static member op_Inequality : System.Windows.Controls.DataGridLength * System.Windows.Controls.DataGridLength -> bool
Public Shared Operator != (gl1 As DataGridLength, gl2 As DataGridLength) As Boolean

参数

gl1
DataGridLength

要比较的第一个 DataGridLength 实例。

gl2
DataGridLength

要比较的第二个 DataGridLength 实例。

返回

Boolean

如果两个 DataGridLength 实例不具有相同的值或调整大小模式,则为 true;否则为 false

适用于