Peer::Equals Method (Peer^)
.NET Framework (current version)
Performs a case-sensitive comparison of the current Peer and the specified peer.
Assembly: System.Net (in System.Net.dll)
Parameters
- other
-
Type:
System.Net.PeerToPeer.Collaboration::Peer^
A Peer instance to compare to this instance.
Return Value
Type: System::BooleanReturns true if the supplied Peer instance has the same PeerEndPoints as this peer instance, otherwise false. This method also returns false if the peer parameter is null.
Implements
IEquatable<T>::Equals(T)Two peers are considered equal if they have the same endpoint collection, regardless of the values in their PeerName properties. Usage scenarios do not involve this class directly, but rather the derived PeerNearMe or the PeerContact classes.
.NET Framework
Available since 3.5
Available since 3.5
Show: