PeerName::Equals Method (PeerName^)
.NET Framework (current version)
Performs a case-sensitive comparison of the current PeerName and the specified peer name.
Assembly: System.Net (in System.Net.dll)
Parameters
- other
-
Type:
System.Net.PeerToPeer::PeerName^
The peer name to compare with this PeerName.
Return Value
Type: System::BooleanReturns True if the specified PeerName identifies the same resource as the current peer name object; otherwise this method returns False.
This method also returns False if other is set to null.
Implements
IEquatable<T>::Equals(T)Two peer names are considered equal if they contain identical characters in their Authority and Classifier components.
No normalizations are performed on the strings prior to comparison. All normalization should have been completed while or before constructing the peer name objects.
.NET Framework
Available since 3.5
Available since 3.5
Show: