SocketAddress.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equals(SocketAddress) |
Indicates whether the current object is equal to another object of the same type. |
Equals(Object) |
Determines whether the specified |
Equals(SocketAddress)
- Source:
- SocketAddress.cs
- Source:
- SocketAddress.cs
Indicates whether the current object is equal to another object of the same type.
public:
virtual bool Equals(System::Net::SocketAddress ^ comparand);
public bool Equals (System.Net.SocketAddress? comparand);
override this.Equals : System.Net.SocketAddress -> bool
Public Function Equals (comparand As SocketAddress) As Boolean
Parameters
- comparand
- SocketAddress
The object to compare.
Returns
true
if the current object is equal to the other
parameter; otherwise, false
.
Implements
Applies to
Equals(Object)
- Source:
- SocketAddress.cs
- Source:
- SocketAddress.cs
- Source:
- SocketAddress.cs
Determines whether the specified Object
is equal to the current Object
.
public:
override bool Equals(System::Object ^ comparand);
public override bool Equals (object comparand);
public override bool Equals (object? comparand);
override this.Equals : obj -> bool
Public Overrides Function Equals (comparand As Object) As Boolean
Parameters
Returns
true
if the specified Object
is equal to the current Object
; otherwise, false
.