Point.Equals 方法

定義

多載

Equals(Point)

指定這個點執行個體是否包含與其他點相同的座標。

Equals(Object)

指定這個點執行個體是否包含與指定物件相同的座標。

Equals(Point)

來源:
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

要測試是否相等的點。

傳回

如果 other 與這個點執行個體有相同座標,則為 true

實作

適用於

Equals(Object)

來源:
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

傳回

如果 objPoint,且與這個點執行個體有相同座標,則為 true

適用於