# PeerEndPoint.EqualsPeerEndPoint.EqualsPeerEndPoint.EqualsPeerEndPoint.Equals Method

## Definição

Especifica se o conteúdo do objeto PeerEndPoint é equivalente ao conteúdo de outro objeto.Specifies if the content of the PeerEndPoint object is equivalent to the content of another object.

## Sobrecargas

 Equals(Object, Object) Equals(Object, Object) Equals(Object, Object) Equals(Object, Object) Determina se os objetos PeerEndPoint especificados são considerados iguais.Determines whether the specified PeerEndPoint objects are considered equal. Equals(Object) Equals(Object) Equals(Object) Equals(Object) Compara o PeerEndPoint ao Object especificado.Compares the PeerEndPoint to the specified Object. Equals(PeerEndPoint) Equals(PeerEndPoint) Equals(PeerEndPoint) Equals(PeerEndPoint) Compara o PeerEndPoint com a instância PeerEndPoint especificada.Compares the PeerEndPoint to the specified PeerEndPoint instance.

## Equals(Object, Object)Equals(Object, Object)Equals(Object, Object)Equals(Object, Object)

Determina se os objetos PeerEndPoint especificados são considerados iguais.Determines whether the specified PeerEndPoint objects are considered equal.

``````public:
static bool Equals(System::Object ^ objA, System::Object ^ objB);``````
``public static bool Equals (object objA, object objB);``
``static member Equals : obj * obj -> bool``
``Public Shared Function Equals (objA As Object, objB As Object) As Boolean``

#### Parâmetros

objA
Object Object Object Object

O primeiro PeerEndPoint a ser comparado.The first PeerEndPoint to compare.

objB
Object Object Object Object

O segundo PeerEndPoint a ser comparado.The second PeerEndPoint to compare.

#### Retornos

`true` se as instâncias PeerEndPoint fornecidas tiverem dados correspondentes. Caso contrário, `false`.`true` if the PeerEndPoint instances provided have matching data; otherwise, `false`.

## Equals(Object)Equals(Object)Equals(Object)Equals(Object)

Compara o PeerEndPoint ao Object especificado.Compares the PeerEndPoint to 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 Object Object Object

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

#### Retornos

`true` se PeerEndPoint for igual à instância especificada do objeto. Caso contrário, `false`.`true` if the PeerEndPoint is equal to the specified object instance; otherwise, `false`.

## Equals(PeerEndPoint)Equals(PeerEndPoint)Equals(PeerEndPoint)Equals(PeerEndPoint)

Compara o PeerEndPoint com a instância PeerEndPoint especificada.Compares the PeerEndPoint to the specified PeerEndPoint instance.

``````public:
virtual bool Equals(System::Net::PeerToPeer::Collaboration::PeerEndPoint ^ other);``````
``public bool Equals (System.Net.PeerToPeer.Collaboration.PeerEndPoint other);``
``override this.Equals : System.Net.PeerToPeer.Collaboration.PeerEndPoint -> bool``
``Public Function Equals (other As PeerEndPoint) As Boolean``

#### Parâmetros

other
PeerEndPoint PeerEndPoint PeerEndPoint PeerEndPoint

A instância PeerEndPoint a ser testada quanto à igualdade.The PeerEndPoint instance to test for equality.

#### Retornos

`true` se a instância PeerEndPoint fornecida tiver dados correspondentes. Caso contrário, `false`.`true` if the PeerEndPoint instance provided has matching data; otherwise, `false`.

#### Exceções

Este objeto PeerEndPoint foi descartado.This PeerEndPoint object has been disposed.