Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs a case-sensitive comparison of the current Peer and the specified peer.
public: virtual bool Equals(System::Net::PeerToPeer::Collaboration::Peer ^ other);
public bool Equals (System.Net.PeerToPeer.Collaboration.Peer other);
override this.Equals : System.Net.PeerToPeer.Collaboration.Peer -> bool
Public Function Equals (other As Peer) As Boolean
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.