Point.Equals Método

Definição

Sobrecargas

Equals(Point)

Especifica se esta instância de ponto contém as mesmas coordenadas de outro ponto.Specifies whether this point instance contains the same coordinates as another point.

Equals(Object)

Especifica se esta instância de ponto contém as mesmas coordenadas do objeto especificado.Specifies whether this point instance contains the same coordinates as the specified object.

Equals(Point)

Especifica se esta instância de ponto contém as mesmas coordenadas de outro ponto.Specifies whether this point instance contains the same coordinates as another point.

public:
 virtual 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

Parâmetros

other
Point

O ponto a ser testado quanto à igualdade.The point to test for equality.

Retornos

Boolean

true se other tiver as mesmas coordenadas desta instância de ponto.true if other has the same coordinates as this point instance.

Implementações

Aplica-se a

Equals(Object)

Especifica se esta instância de ponto contém as mesmas coordenadas do objeto especificado.Specifies whether this point instance contains the same coordinates as the specified object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parâmetros

obj
Object

O Object a testar quanto à igualdade.The Object to test for equality.

Retornos

Boolean

true se obj for um Point e tiver as mesmas coordenadas desta instância de ponto.true if obj is a Point and has the same coordinates as this point instance.

Aplica-se a