语言

Point.Equals 方法

定义

重载

名称 说明
Equals(Point)

指定此点实例是否包含与另一个点相同的坐标。

Equals(Object)

指定此点实例是否包含与指定对象相同的坐标。

Equals(Point)

Source:
Point.cs
Source:
Point.cs
Source:
Point.cs
Source:
Point.cs
Source:
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

要测试是否相等的点。

返回

如果具有与此点实例相同的坐标,则为 <a0/>。

实现

适用于

Equals(Object)

Source:
Point.cs
Source:
Point.cs
Source:
Point.cs
Source:
Point.cs
Source:
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 且与此点实例具有相同的坐标,

适用于