PeerObject.Equals PeerObject.Equals PeerObject.Equals PeerObject.Equals Method

Definition

Compares the PeerObject to the specified object.

Overloads

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

Compares the PeerObject to the specified object.

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

Determines whether the specified PeerObject instances are considered equal.

Equals(PeerObject) Equals(PeerObject) Equals(PeerObject) Equals(PeerObject)

Compares a PeerObject to the specified PeerObject instance.

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

Compares the PeerObject 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 obj is a PeerObject instance, and the PeerObject instances have matching data; otherwise, false.

Exceptions

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

Determines whether the specified PeerObject instances 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 PeerObject to compare.

objB
Object Object Object Object

The second PeerObject to compare.

Returns

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

Equals(PeerObject) Equals(PeerObject) Equals(PeerObject) Equals(PeerObject)

Compares a PeerObject to the specified PeerObject instance.

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

Parameters

other
PeerObject PeerObject PeerObject PeerObject

The PeerObject instance to test for equality.

Returns

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

Implements

Exceptions

Applies to