Point.Equals Point.Equals Point.Equals Point.Equals Method

定義

多載

Equals(Point) Equals(Point) Equals(Point) Equals(Point)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

指定這個 Point 是否包含與指定 Object 相同的座標。Specifies whether this Point contains the same coordinates as the specified Object.

Equals(Point) Equals(Point) Equals(Point) Equals(Point)

public:
 virtual bool Equals(System::Drawing::Point other);
public bool Equals (System.Drawing.Point other);
override this.Equals : System.Drawing.Point -> bool
Public Function Equals (other As Point) As Boolean

參數

傳回

實作

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

指定這個 Point 是否包含與指定 Object 相同的座標。Specifies whether this Point contains the same coordinates as the specified Object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

參數

obj
Object Object Object Object

要測試的 ObjectThe Object to test.

傳回

如果 objPoint,且具有與這個 Point 相同的座標,則為 truetrue if obj is a Point and has the same coordinates as this Point.

適用於