GridLength.Inequality(GridLength, GridLength) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
比较两个 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 实例。
返回
true 如果两个 GridLength 实例的值不相同,则 GridUnitType为 ;否则为 false。