Equals Method
Collapse the table of content
Expand the table of content

IPEndPoint.Equals Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

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

Parameters

comparand
Type: System.Object
The specified Object to test for equality with the current IPEndPoint instance.

Return Value

Type: System.Boolean
true if the two IP endpoints are equal; otherwise, false.

The Equals method compares the current IPEndPoint instance with the comparand parameter and returns true if the two instances contain the same IP address.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft