共用方式為


CornerRadius.Inequality(CornerRadius, CornerRadius) 運算子

定義

比較兩個 CornerRadius 結構是否相等。

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

參數

cr1
CornerRadius

要比較的第一個 CornerRadius

cr2
CornerRadius

要比較的第二個 CornerRadius

傳回

如果 cr1cr2 有一或多個邊角值不同 (TopLeftTopRightBottomLeftBottomRight 的值不同),則為 true;如果 cr1cr2 具有相同的邊角,則為 false

適用於