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

适用于