Muokkaa

Jaa


DnsEndPoint.Equals(Object) Method

Definition

Compares two DnsEndPoint objects.

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

A DnsEndPoint instance to compare to the current instance.

Returns

true if the two DnsEndPoint instances are equal; otherwise, false.

Remarks

The Equals method compares the current DnsEndPoint instance with the comparand parameter and returns true if the two instances contain the same endpoint.

Applies to