共用方式為


SocketAddress.GetMaximumAddressSize(AddressFamily) 方法

定義

取得指定 AddressFamily所需的緩衝區大小上限。

public:
 static int GetMaximumAddressSize(System::Net::Sockets::AddressFamily addressFamily);
public static int GetMaximumAddressSize (System.Net.Sockets.AddressFamily addressFamily);
static member GetMaximumAddressSize : System.Net.Sockets.AddressFamily -> int
Public Shared Function GetMaximumAddressSize (addressFamily As AddressFamily) As Integer

參數

addressFamily
AddressFamily

要使用的尋址配置。

傳回

緩衝區大小上限。

適用於