語言

Point.Equals 方法

定義

多載

名稱 Description
Equals(Point)

指定此點實例是否包含與其他點相同的座標。

Equals(Object)

指定此點實例是否包含與指定物件相同的座標。

Equals(Point)

來源:
Point.cs
來源:
Point.cs
來源:
Point.cs
來源:
Point.cs
來源:
Point.cs

指定此點實例是否包含與其他點相同的座標。

public:
 virtual bool Equals(System::Drawing::Point other);
public readonly 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

參數

other
Point

這是檢驗平等的點。

傳回

true 若 other 與此點實例座標相同。

實作

適用於

Equals(Object)

來源:
Point.cs
來源:
Point.cs
來源:
Point.cs
來源:
Point.cs
來源:
Point.cs

指定此點實例是否包含與指定物件相同的座標。

public:
 override bool Equals(System::Object ^ obj);
public override readonly bool Equals(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 為了檢驗平等。

傳回

true 若 obj 是 A Point ,且座標與此點實例相同。

適用於