共用方式為


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

適用於