GridLength.Inequality(GridLength, GridLength) 演算子

定義

2 つの GridLength 構造体を比較し、それらが等しくないかどうかを確認します。

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

パラメーター

gl1
GridLength

比較する GridLength の最初のインスタンスです。

gl2
GridLength

比較する GridLength の 2 番目のインスタンスです。

戻り値

GridLength の 2 つのインスタンスが同じ値を持たず、GridUnitType を持たない場合は true。それ以外の場合は false

適用対象

こちらもご覧ください