PeerContact.Equals Method

 

Determines whether the PeerName of this PeerContact object is equivalent to the name of another object.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

NameDescription
System_CAPS_pubmethodEquals(Object)

Compares the PeerContact instance to the specified object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticEquals(Object, Object)

Determines whether the specified PeerContact instances are considered equal.

System_CAPS_pubmethodEquals(Peer)

Performs a case-sensitive comparison of the current Peer and the specified peer.(Inherited from Peer.)

System_CAPS_pubmethodEquals(PeerContact)

Compares the PeerContact to the specified PeerContact instance.

Returns true if the specified Object has the same PeerName as the current instance, otherwise false. This method also returns false if passed parameters are null.

Return to top
Show: