RibbonControlLength.Inequality 运算符

定义

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

public:
 static bool operator !=(System::Windows::Controls::Ribbon::RibbonControlLength length1, System::Windows::Controls::Ribbon::RibbonControlLength length2);
public static bool operator != (System.Windows.Controls.Ribbon.RibbonControlLength length1, System.Windows.Controls.Ribbon.RibbonControlLength length2);
static member op_Inequality : System.Windows.Controls.Ribbon.RibbonControlLength * System.Windows.Controls.Ribbon.RibbonControlLength -> bool
Public Shared Operator != (length1 As RibbonControlLength, length2 As RibbonControlLength) As Boolean

参数

length1
RibbonControlLength

要比较的第一个 RibbonControlLength 实例。

length2
RibbonControlLength

要比较的第二个 RibbonControlLength 实例。

返回

Boolean

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

适用于