Point.Equals 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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
參數
傳回
true 若 obj 是 A Point ,且座標與此點實例相同。