共用方式為


Point.Inequality(Point, Point) 運算子

定義

比較兩個 Point 物件。 結果會指定兩個 X 物件的 YPoint 屬性值是否不相等。

public:
 static bool operator !=(System::Drawing::Point left, System::Drawing::Point right);
public static bool operator != (System.Drawing.Point left, System.Drawing.Point right);
static member op_Inequality : System.Drawing.Point * System.Drawing.Point -> bool
Public Shared Operator != (left As Point, right As Point) As Boolean

參數

left
Point

要比較的 Point

right
Point

要比較的 Point

傳回

如果 leftrightX 屬性或 Y 屬性不同,則為 true,否則為 false

適用於