संपादित करें

इसके माध्यम से साझा किया गया


Point.Equals Method

Definition

Overloads

Equals(Point)

Specifies whether this point instance contains the same coordinates as another point.

Equals(Object)

Specifies whether this point instance contains the same coordinates as the specified object.

Equals(Point)

Source:
Point.cs
Source:
Point.cs
Source:
Point.cs

Specifies whether this point instance contains the same coordinates as another point.

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

Parameters

other
Point

The point to test for equality.

Returns

true if other has the same coordinates as this point instance.

Implements

Applies to

Equals(Object)

Source:
Point.cs
Source:
Point.cs
Source:
Point.cs

Specifies whether this point instance contains the same coordinates as the specified 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

Parameters

obj
Object

The Object to test for equality.

Returns

true if obj is a Point and has the same coordinates as this point instance.

Applies to