PeerObject::Equals Method (PeerObject^)

 

Compares a PeerObject to the specified PeerObject instance.

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

public:
virtual bool Equals(
	PeerObject^ other
) sealed

Parameters

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

The PeerObject instance to test for equality.

Return Value

Type: System::Boolean

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

Exception Condition
ObjectDisposedException

The PeerObject instance specified by other has been disposed.

.NET Framework
Available since 3.5
Return to top
Show: