Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DnsEndPoint.Equals Method

Compares two DnsEndPoint objects.

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

abstract Equals : 
        comparand:Object -> bool  
override Equals : 
        comparand:Object -> bool

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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show:
© 2015 Microsoft