PeerApplication.Equals Method (PeerApplication)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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 Function Equals (
	other As PeerApplication
) As Boolean


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

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