語言

Size.Inequality(Size, Size) 運算子

定義

比較兩個不平等的 Size 案例。

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

參數

size1
Size

第一個例子 Size 是比較。

size2
Size

第二個例子 Size 是比較。

傳回

true 若 的 Size 實例不相等;否則 false。

適用於