PeerEndPoint::Equals Method (PeerEndPoint^)

 

Compares the PeerEndPoint to the specified PeerEndPoint instance.

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

public:
virtual bool Equals(
	PeerEndPoint^ other
) sealed

Parameters

other
Type: System.Net.PeerToPeer.Collaboration::PeerEndPoint^

The PeerEndPoint instance to test for equality.

Return Value

Type: System::Boolean

Returns true if the PeerEndPoint instance provided has matching data, else false.

Exception Condition
ObjectDisposedException

This PeerEndPoint object has been disposed.

.NET Framework
Available since 3.5
Return to top
Show: