Επεξεργασία

Κοινή χρήση μέσω


PeerEndPoint.Equals Method

Definition

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

Overloads

Equals(Object, Object)

Determines whether the specified PeerEndPoint objects are considered equal.

Equals(Object)

Compares the PeerEndPoint to the specified Object.

Equals(PeerEndPoint)

Compares the PeerEndPoint to the specified PeerEndPoint instance.

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

The first PeerEndPoint to compare.

objB
Object

The second PeerEndPoint to compare.

Returns

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

Applies to

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

The Object to test for equality.

Returns

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

Applies to

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

The PeerEndPoint instance to test for equality.

Returns

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

Implements

Exceptions

This PeerEndPoint object has been disposed.

Applies to