共用方式為


DnsEndPoint.AddressFamily 屬性

定義

取得網際網路通訊協定 (IP) 位址家族。

public:
 virtual property System::Net::Sockets::AddressFamily AddressFamily { System::Net::Sockets::AddressFamily get(); };
public override System.Net.Sockets.AddressFamily AddressFamily { get; }
member this.AddressFamily : System.Net.Sockets.AddressFamily
Public Overrides ReadOnly Property AddressFamily As AddressFamily

屬性值

其中一個 AddressFamily 值。

備註

屬性 AddressFamily 會指出類別實例的 DnsEndPoint 位址系列。

適用於