Redigera

Dela via


SocketAddress.Equals Method

Definition

Overloads

Equals(SocketAddress)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified Object is equal to the current Object.

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

comparand
Object

The Object to compare with the current Object.

Returns

true if the specified Object is equal to the current Object; otherwise, false.

See also

Applies to