DnsEndPoint.Port 属性

定义

获取 DnsEndPoint 的端口号。

public:
 property int Port { int get(); };
public int Port { get; }
member this.Port : int
Public ReadOnly Property Port As Integer

属性值

Int32

介于 0 到 0xffff 之间的整数值,指示 DnsEndPoint 的端口号。

适用于