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.ToString Method

Returns the host name or string representation of the IP address and port number of the DnsEndPoint.

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

'Declaration
Public Overrides Function ToString As String

Return Value

Type: System.String
A string containing the address family, host name or IP address string, and the port number of the specified DnsEndPoint.

The ToString method returns a string that contains the address family, the host name or IP address string, and the port number.

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