Aracılığıyla paylaş


DnsEndPoint.ToString Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Overrides Function ToString As String
public override string ToString()

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.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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