Point.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
true
if obj
is a Point and has the same coordinates as this point instance.