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

IPEndPoint.Equals Method

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

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

public override bool Equals(
	Object comparand
)

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft