PeerApplication::Equals Method (PeerApplication^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Compares the PeerApplication to the specified PeerApplication instance.

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

public:
virtual bool Equals(
	PeerApplication^ other
) sealed

Parameters

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

The PeerApplication instance to test for equality.

Return Value

Type: System::Boolean

Returns true if the PeerApplication instance provided has matching data, else false. This method also returns false if other is null.

Exception Condition
ObjectDisposedException

This PeerApplication object has been disposed.

No normalizations are performed on the strings prior to comparison. All normalization should have been completed while or before constructing the PeerApplication objects.

.NET Framework
Available since 3.5
Return to top
Show: