Export (0) Print
Expand All

DnsEndPoint.Equals Method

Compares two DnsEndPoint objects.

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

'Declaration
Public Overrides Function Equals ( _
	comparand As Object _
) As Boolean

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

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

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