PeerEndPoint.Equals PeerEndPoint.Equals PeerEndPoint.Equals PeerEndPoint.Equals Method

Definition

Specifies if the content of the PeerEndPoint object is equivalent to the content of another object.

Overloads

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

Determines whether the specified PeerEndPoint objects are considered equal.

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

Compares the PeerEndPoint to the specified Object.

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

Compares the PeerEndPoint to the specified PeerEndPoint instance.

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

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

Parameters

objA
Object Object Object Object

The first PeerEndPoint to compare.

objB
Object Object Object Object

The second PeerEndPoint to compare.

Returns

true if the PeerEndPoint instances provided have matching data; otherwise, false.

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

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

Parameters

obj
Object Object Object Object

The Object to test for equality.

Returns

true if the PeerEndPoint is equal to the specified object instance; otherwise, false.

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

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

Parameters

other
PeerEndPoint PeerEndPoint PeerEndPoint PeerEndPoint

The PeerEndPoint instance to test for equality.

Returns

true if the PeerEndPoint instance provided has matching data; otherwise, false.

Implements

Exceptions

Applies to