Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DnsEndPoint::Equals Method (Object^)

 

Compares two DnsEndPoint objects.

Namespace:   System.Net
Assembly:  System (in System.dll)

public:
virtual bool Equals(
	Object^ comparand
) override

Parameters

comparand
Type: System::Object^

A DnsEndPoint instance to compare to the current instance.

Return Value

Type: System::Boolean

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

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2017 Microsoft