Bewerken

Share via


SocketAddress.ToString Method

Definition

Returns information about the socket address.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string that contains information about the SocketAddress.

Remarks

The ToString method returns a string that contains the AddressFamily enumerated value, the size of the underlying buffer of the SocketAddress structure, and the remaining contents of the buffer.

Applies to