语言

PointF.Equals 方法

定义

重载

名称 说明
Equals(PointF)

指示当前对象是否等于同一类型的另一个对象。

Equals(Object)

指定这 PointF 是否包含与指定 Object坐标相同的坐标。

Equals(PointF)

Source:
PointF.cs
Source:
PointF.cs
Source:
PointF.cs
Source:
PointF.cs
Source:
PointF.cs

指示当前对象是否等于同一类型的另一个对象。

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

参数

other
PointF

要与此对象进行比较的对象。

返回

true 如果当前对象等于 other,则为 ;否则为 false。

实现

适用于

Equals(Object)

Source:
PointF.cs
Source:
PointF.cs
Source:
PointF.cs
Source:
PointF.cs
Source:
PointF.cs

指定这 PointF 是否包含与指定 Object坐标相同的坐标。

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 为且 PointF 坐标与此方法 Point相同。

适用于