PeerNearMe.Equals PeerNearMe.Equals PeerNearMe.Equals PeerNearMe.Equals Method

Definition

Compares the PeerNearMe instance to the specified object.

Overloads

Equals(PeerNearMe) Equals(PeerNearMe) Equals(PeerNearMe) Equals(PeerNearMe)

Compares the PeerNearMe to the specified PeerNearMe instance.

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

Compares the PeerNearMe instance to the specified object.

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

Determines whether the specified PeerNearMe instances are considered equal.

Equals(PeerNearMe) Equals(PeerNearMe) Equals(PeerNearMe) Equals(PeerNearMe)

Compares the PeerNearMe to the specified PeerNearMe instance.

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

Parameters

other
PeerNearMe PeerNearMe PeerNearMe PeerNearMe

The PeerNearMe instance to test for equality.

Returns

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

Implements

Exceptions

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

Compares the PeerNearMe instance 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 PeerNearMe instance provided has matching data; otherwise, false.

Exceptions

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

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

objB
Object Object Object Object

The second PeerNearMe to compare.

Returns

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

Applies to